#26955: Multi-db example : default database config can not be an empty dict -------------------------------+-------------------- Reporter: ldng | Owner: nobody Type: Bug | Status: new Component: Documentation | Version: 1.10 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------- Multi-db example maybe obsolete as it advises to leave "default entry intentionally left empty" [1], yet whe you do so, you'll get the following error : {{{#!python django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details. }}}
It is cohérente with the basic setup [2] : "The DATABASES setting must configure a default database; any number of additional databases may also be specified." [1] https://docs.djangoproject.com/en/1.10/topics/db/multi-db/#defining- your-databases [2] https://docs.djangoproject.com/en/1.9/ref/settings/#databases -- Ticket URL: <https://code.djangoproject.com/ticket/26955> 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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/047.24ab25c6ae76c8da32b85088e14ed745%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.