I\'m specifying the databases using a python object: DATABASES = { \'default\':{ \'ENGINE\':\'mysql\',
Trying to setup our systems on our django project to utilize django\'s testing framework. However, when I try running python manage.py test I get various errors explained below.
I\'m building a Django app with an API built on Piston. For the sake of keeping everything as DRY as possible and the API complete, I\'d like my internal applications to call the API rather than the m
My site allows individuals to contribute content in the absence of being logged in by creating a User based on the current session_key
I have a Django application, myApp. In it, there\'s a tests.py file which defines a number of test cases using django.test.TestCase class. For example, one of them is called WebViews, and has a test m
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing
I am still in the development phase of a Django App. Before even writing my views.py, I test them out to see if my models are correctly defined. This I do it in the terminal by invoking
I have a middleware function which defines request.foo. A function I want to test depends on foo being defined from the middleware. How do I test said function since the middleware isn\'t run during t
开发者_开发技巧I have a view that should be setting an initial value for a form field based on a GET value. I want to test this. I\'m currently using Django\'s test client but I am open to looking at
I have two databases that my site uses and I have an app that uses both of them. I need to write a TestCase that loads开发者_JS百科 fixtures for both databases. I use a DB router, which works fine in