#16039: syncdb with --database option fails
-------------------------------------+-------------------------------------
     Reporter:  yedpodtrzitko        |                    Owner:  nobody
         Type:  Bug                  |                   Status:  reopened
    Component:  Database layer       |                  Version:  1.4
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by Allan Lei <allanlei@…>):

 * has_patch:  0 => 1


Comment:

 Change asandroq's patch so that the db argument has a default value of
 DEFAULT_DB_ALIAS since that is what it would have been using with this
 patch.

 In django/contrib/contenttypes/management.py

 {{{ ContentType.objects.bulk_create() }}} in {{{ update_contenttypes() }}}
 was missing this fix.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16039#comment:12>
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 https://groups.google.com/groups/opt_out.


Reply via email to