Opened 11 years ago
Last modified 11 years ago
#24000 closed Bug
create_default_site 'db' kwarg should be 'using' — at Initial Version
| 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
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.
Note:
See TracTickets
for help on using tickets.