#17898: The database option is not honored when `createsuperuser` is called by
`syncdb`
-------------------------------------+-------------------------------------
     Reporter:  charettes            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  contrib.auth         |                  Version:  1.3
     Severity:  Release blocker      |               Resolution:
     Keywords:  syncdb               |             Triage Stage:
  createsuperuser database multidb   |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  1                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by charettes):

 I can confirm r17665 introduced the regression.

 Everything worked just fine before this changeset since I was using a
 router to specify the `User`'s `db_for_(write|read)`. Now that
 `using(database)` is explicitly called in the `createsuperuser` command
 it's not asking the router anymore therefore triggering this issue.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17898#comment:2>
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.

Reply via email to