#18575: Testing framework doesn't work without a SQL Database -----------------------------------+-------------------- Reporter: delormemarco@… | Owner: nobody Type: Bug | Status: new Component: Testing framework | Version: 1.4 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -----------------------------------+-------------------- If you choose not to use a database in your settings.py (DATABASE = {}), you can't run tests with {{{ python manage.py test <my app> }}} You receive an '''ImproperlyConfigured''' exception with the following message: ''you must define a 'default' database''
That's because '''django.test.signals''' import '''django.db.connection''' since ''1.4'' and obviously '''django.db.connectinon''' need a database to be configured -- Ticket URL: <https://code.djangoproject.com/ticket/18575> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.