#14662: auth and contenttypes post-syncdb handlers ignore 'db' option
-----------------------------------+----------------------------------------
Reporter: marcop | Owner: nobody
Status: closed | Milestone: 1.3
Component: Contrib apps | Version: SVN
Resolution: invalid | Keywords: management muti_db
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
-----------------------------------+----------------------------------------
Changes (by russellm):
* status: new => closed
* resolution: => invalid
* milestone: => 1.3
Comment:
The contenttype and auth post_syncdb handlers ignore --db by design --
they should be (and are) using the router to determine where content types
should be written.
If running `sycndb` on `other` causes an error because `default` doesn't
exist, then that means you have a dependency in your database setup, and
you need to run `sycndb` on `default` first. #14799 was the manifestation
of this problem in the test suite.
Similarly, createsuperuser shoudn't be overriding the default routing
behavior for the User model.
--
Ticket URL: <http://code.djangoproject.com/ticket/14662#comment:3>
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.