diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-01-25 21:54:25 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-01-26 08:50:47 +0100 |
| commit | 9ffab9cee1a5bd1a2f6c326ae970d92526f9a304 (patch) | |
| tree | ebc84834a786fa4d99e651b68376e9e142967074 /docs/internals | |
| parent | ca95f8e4359325567fa441eef8f18cb710850eeb (diff) | |
Moved RequestSite and get_current_site.
Following the app-loading refactor, these objects must live outside of
django.contrib.sites.models because they must be available without
importing the django.contrib.sites.models module when
django.contrib.sites isn't installed.
Refs #21680. Thanks Carl and Loic for reporting this issue.
Diffstat (limited to 'docs/internals')
| -rw-r--r-- | docs/internals/deprecation.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index d8d0110a74..b8cdb27c5a 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -184,6 +184,9 @@ these changes. * ``AppCommand.handle_app()`` will no longer be supported. +* ``RequestSite`` will be located in ``django.contrib.sites.requests`` and + ``get_current_site`` in ``django.contrib.sites.shortcuts``. + * FastCGI support via the ``runfcgi`` management command will be removed. Please deploy your project using WSGI. |
