Changes between Initial Version and Version 1 of Ticket #19775
- Timestamp:
- Feb 8, 2013, 4:01:09 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19775
- Property Triage Stage Unreviewed → Accepted
-
Ticket #19775 – Description
initial v1 3 3 https://docs.djangoproject.com/en/1.4/topics/db/multi-db/#defining-your-databases 4 4 5 """ 5 '' 6 6 ... Django uses the database with the alias of default when no other database has been selected. If you don’t have a default database, you need to be careful to always specify the database that you want to use. 7 8 """ 7 '' 9 8 10 9 However, when you actually remove, or do not include a "default" and attempt to syncdb with Postgresql, you get the following error that explicitly tells you, that you *must* define a "default" database: 11 10 11 {{{ 12 12 >python manage.py syncdb 13 13 Traceback (most recent call last): … … 31 31 raise ImproperlyConfigured("You must define a '%s' database" % DEFAULT_DB_ALIAS) 32 32 django.core.exceptions.ImproperlyConfigured: You must define a 'default' database 33 34 33 }}}