Opened 10 years ago
Last modified 10 years ago
#24000 closed Bug
create_default_site 'db' kwarg should be 'using' — at Version 1
Reported by: | tkhyn | Owned by: | nobody |
---|---|---|---|
Component: | contrib.sites | Version: | 1.7 |
Severity: | Release blocker | Keywords: | sites multidb |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description (last modified by )
Almost a non-bug as it only prevents the creation of the 'example.com' entry in the django_site
table when this table does not lie in the default database (in case of a multi-db setup).
As the post_migrate signal uses the keyword using
, it is indeed not picked up by create_default_site
which uses db
.
Trivial patch attached.
Change History (2)
by , 10 years ago
Attachment: | create_default_site_patch.patch added |
---|
comment:1 by , 10 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.