summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThomas Schreiber <tom@rizu.mu>2014-03-21 17:24:49 +0100
committerBaptiste Mispelon <bmispelon@gmail.com>2014-03-21 20:02:03 +0100
commit79989263a29c4823f8f2e9cf2753fa34be8f9beb (patch)
tree252f2a5dda7f428a752ccde63ae237334f54ba8e /docs
parent563d6a6bbaaf80dd60164f8f0e3335215c3ae019 (diff)
[1.7.x] Fixed typos in docs (django.contrib.site)
Backport of 907ac646415a911b54d84c5203d4fa78ed1b91d5 from master.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/sites.txt2
-rw-r--r--docs/ref/middleware.txt2
-rw-r--r--docs/releases/1.7.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/contrib/sites.txt b/docs/ref/contrib/sites.txt
index e9dd1134c2..7d1aa4adbf 100644
--- a/docs/ref/contrib/sites.txt
+++ b/docs/ref/contrib/sites.txt
@@ -389,7 +389,7 @@ If you often use this pattern::
...
there is simple way to avoid repetitions. Add
-:class:`django.contrib.site.middleware.CurrentSiteMiddleware` to
+:class:`django.contrib.sites.middleware.CurrentSiteMiddleware` to
:setting:`MIDDLEWARE_CLASSES`. The middleware sets the ``site`` attribute on
every request object, so you can use ``request.site`` to get the current site.
diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt
index f5a513e9fc..7bc7a8e84c 100644
--- a/docs/ref/middleware.txt
+++ b/docs/ref/middleware.txt
@@ -182,7 +182,7 @@ Enables session support. See the :doc:`session documentation
Site middleware
---------------
-.. module:: django.contrib.site.middleware
+.. module:: django.contrib.sites.middleware
:synopsis: Site middleware.
.. class:: CurrentSiteMiddleware
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
index 9df1b666d5..9737d9a6a2 100644
--- a/docs/releases/1.7.txt
+++ b/docs/releases/1.7.txt
@@ -391,7 +391,7 @@ Minor features
:mod:`django.contrib.sites`
^^^^^^^^^^^^^^^^^^^^^^^^^^^
-* The new :class:`django.contrib.site.middleware.CurrentSiteMiddleware` allows
+* The new :class:`django.contrib.sites.middleware.CurrentSiteMiddleware` allows
setting the current site on each request.
:mod:`django.contrib.staticfiles`