| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
#24834.
|
|
|
|
|
|
|
| |
header contains port.
When the Host header contains a port, looking up the Site record fails
as the host will never match the domain.
|
| |
|
|
|
|
|
|
|
| |
pk of 1.
Fixed create_default_site() to use a default value in case
settings.SITE_ID isn't set; refs #23945.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
allow_migrate().
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.
This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.
Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.
Refs 22583.
|
|
|
|
| |
create_default_site() when 'default' DATABASES is empty.
|
|
|