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:
@@ -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`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user