diff options
| author | Tim Graham <timograham@gmail.com> | 2015-01-18 13:36:32 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-01-18 13:36:32 -0500 |
| commit | 4548a282a1c64bb2ed414da3d08617d869cd3740 (patch) | |
| tree | 5299b9257fe7521758932ab9aab366b9d476e7bf /docs/ref | |
| parent | ba27f895878bb155fefb8c1b9beee2c9f3d85b3f (diff) | |
Removed contrib.sites.models.RequestSite/get_current_site() aliases.
Per deprecation timeline; refs #21680.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/sites.txt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/docs/ref/contrib/sites.txt b/docs/ref/contrib/sites.txt index b3dd2933a7..7ec8d00073 100644 --- a/docs/ref/contrib/sites.txt +++ b/docs/ref/contrib/sites.txt @@ -472,11 +472,6 @@ a fallback when the database-backed sites framework is not available. Sets the ``name`` and ``domain`` attributes to the value of :meth:`~django.http.HttpRequest.get_host`. - .. deprecated:: 1.7 - - This class used to be defined in ``django.contrib.sites.models``. The - old import location will work until Django 1.9. - A :class:`~django.contrib.sites.requests.RequestSite` object has a similar interface to a normal :class:`~django.contrib.sites.models.Site` object, except its :meth:`~django.contrib.sites.requests.RequestSite.__init__()` @@ -499,11 +494,6 @@ Finally, to avoid repetitive fallback code, the framework provides a object or a :class:`~django.contrib.sites.requests.RequestSite` object based on the request. - .. deprecated:: 1.7 - - This function used to be defined in ``django.contrib.sites.models``. - The old import location will work until Django 1.9. - .. versionchanged:: 1.8 This function will now lookup the current site based on |
