Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/sites_tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed reverse sites_tests failures introduced in refs ↵Tim Graham2015-06-181-0/+3
| | | | #24834.
* Fixed #24834 -- Fixed get_current_site() when Host ↵Nick Pope2015-06-181-0/+35
| | | | | | | header contains port. When the Host header contains a port, looking up the Site record fails as the host will never match the domain.
* Fixed #24774 -- Made contrib.site's Site.domain field uniquePiotr Jakimiak2015-05-161-0/+6
|
* Fixed #24488 -- Made create_default_site() use default ↵Marten Kenbeek2015-03-161-0/+9
| | | | | | | pk of 1. Fixed create_default_site() to use a default value in case settings.SITE_ID isn't set; refs #23945.
* Fixed #24351, #24346 -- Changed the signature of ↵Loic Bistuer2015-02-201-1/+1
| | | | | | | | | | | | | | | | 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.
* Fixed #24332 -- Fixed contrib.sites ↵Tim Graham2015-02-131-2/+28
| | | | create_default_site() when 'default' DATABASES is empty.
* Moved contrib.sites tests out of contrib.Tim Graham2015-02-112-0/+194