Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
My site allows individuals to contribute content in the absence of being logged in by creating a User based on …
python django django-testing django-sessionsI'm using Python 3.4 and Django 1.7. I have a view returning JsonResponse. def add_item_to_collection(request): #(...) return JsonResponse({'status':…
python django python-3.x django-testing jsonresponseI use Postgres for production and development, but I'd like to use sqlite to run some tests. I don't see …
django django-testingI'm trying to run ./manage.py test But it tells me Got an error creating the test database: permission denied …
django postgresql django-testing webfactionSo I have various signals and handlers which are sent across apps. However, when I perform tests / go into 'testing …
django django-testing django-signalsI have the following django test case that is giving me errors: class MyTesting(unittest.TestCase): def setUp(self): self.…
python django unit-testing django-testingI am trying to decide whether I should use Django's Client or RequestFactory to test my views. I am creating …
django unit-testing django-views django-rest-framework django-testingI'm working on a Django web application which (amongst other things) needs to handle transaction status info sent using a …
django http-referer django-testingI've enabled login authentication for my django app. Unit tests for views are not working because they get stuck at …
django unit-testing django-authentication django-testingI'm adding a set of template tags to a Django application and I'm not sure how to test them. I've …
django django-templates django-testing