From 9ffab9cee1a5bd1a2f6c326ae970d92526f9a304 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 25 Jan 2014 21:54:25 +0100 Subject: 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. --- docs/internals/deprecation.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/internals') 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. -- cgit v1.3