Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
im having an issue with a tutorial im following. we have gotten to the point of testing and i continue …
django django-models django-testing django-settingsI am trying to find out the number of queries executed by a utility function. I have written a unit …
django django-orm django-testingI'm specifying the databases using a python object: DATABASES = { 'default':{ 'ENGINE':'mysql', 'NAME':'testsqldb', 'USER':'<username>', …
django testing settings django-testing django-settingsFor some of my Django views I've created a decorator that performs Basic HTTP access authentication. However, while writing test …
python django unit-testing http-authentication django-testingIn my django application, I'm trying to write a unit test that performs an action and then checks the messages …
python django unit-testing django-testingI have a utility function in my Django project, it takes a queryset, gets some data from it and returns …
python django unit-testing django-queryset django-testingI need to create some kind of MockMixin for my tests. It should include mocks for everything that calls external …
python django unit-testing django-testing python-mockI'm writing a reusable django app and I need to ensure that its models are only sync'ed when the app …
django unit-testing django-testingI am trying to test my Django views. This view passes a QuerySet to the template: def merchant_home(request, …
python django django-queryset django-testingI am developing a web application using Django 1.6 where I require users to log in using my login form. I …
django validation django-forms django-authentication django-testing