#13610: Missing ENGINE setting in settings.py doesn't produce error
-------------------------------------+--------------------------------------
          Reporter:  jtiai           |         Owner:  gregmuellegger 
            Status:  assigned        |     Milestone:                 
         Component:  Core framework  |       Version:  SVN            
        Resolution:                  |      Keywords:  settings config
             Stage:  Unreviewed      |     Has_patch:  1              
        Needs_docs:  0               |   Needs_tests:  1              
Needs_better_patch:  0               |  
-------------------------------------+--------------------------------------
Changes (by gregmuellegger):

  * status:  new => assigned
  * needs_better_patch:  => 0
  * needs_tests:  => 1
  * version:  1.2 => SVN
  * owner:  nobody => gregmuellegger
  * needs_docs:  => 0
  * has_patch:  0 => 1

Comment:

 I added a patch but it doesn't contain a test because I'm unsure how to
 test this issue.

 The syncdb command calls the django.db.__init__ module which raises an
 KeyError if no ENGINE is set. But this error is catched in
 django/core/management/__init__.py:258 so I also changed this file and
 moved some code out of the except clause to make spotting issues in
 management commands easier.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13610#comment:1>
Django <http://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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to