1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #23945 -- Made default site use the configured SITE_ID.

This commit is contained in:
wrwrwr
2014-11-30 18:03:40 +01:00
committed by Tim Graham
parent 1739ae9edc
commit bfc75996f9
3 changed files with 14 additions and 1 deletions

View File

@@ -168,6 +168,10 @@ Minor features
<django.http.HttpRequest.get_host>` if the :setting:`SITE_ID` setting is not
defined.
* The default :class:`~django.contrib.sites.models.Site` created when running
``migrate`` now respects the :setting:`SITE_ID` setting (instead of always
using ``pk=1``).
:mod:`django.contrib.staticfiles`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^