summaryrefslogtreecommitdiff
path: root/docs/ref/contrib
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2014-04-26 16:00:15 +0200
committerClaude Paroz <claude@2xlibre.net>2014-04-26 16:03:40 +0200
commite441cebce340f54741be957817cc034000deab3c (patch)
tree0a1b9730a86f6a3660961e220cd099494f9fd8f2 /docs/ref/contrib
parentabd68b5affaec35e941b49f1b0a4cb8d70c22d7b (diff)
[1.7.x] Updated doc links to point to Python 3 documentation
Backport of 680a0f08b from master.
Diffstat (limited to 'docs/ref/contrib')
-rw-r--r--docs/ref/contrib/auth.txt3
-rw-r--r--docs/ref/contrib/sites.txt2
2 files changed, 2 insertions, 3 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt
index 0f1a493a28..da9c69acdf 100644
--- a/docs/ref/contrib/auth.txt
+++ b/docs/ref/contrib/auth.txt
@@ -290,8 +290,7 @@ Anonymous users
* :meth:`~django.contrib.auth.models.User.set_password()`,
:meth:`~django.contrib.auth.models.User.check_password()`,
:meth:`~django.db.models.Model.save` and
- :meth:`~django.db.models.Model.delete()` raise
- :exc:`~exceptions.NotImplementedError`.
+ :meth:`~django.db.models.Model.delete()` raise :exc:`NotImplementedError`.
In practice, you probably won't need to use
:class:`~django.contrib.auth.models.AnonymousUser` objects on your own, but
diff --git a/docs/ref/contrib/sites.txt b/docs/ref/contrib/sites.txt
index 57684ed420..a5f9786e76 100644
--- a/docs/ref/contrib/sites.txt
+++ b/docs/ref/contrib/sites.txt
@@ -478,7 +478,7 @@ method takes an :class:`~django.http.HttpRequest` object. It's able to deduce
the ``domain`` and ``name`` by looking at the request's domain. It has
``save()`` and ``delete()`` methods to match the interface of
:class:`~django.contrib.sites.models.Site`, but the methods raise
-:exc:`~exceptions.NotImplementedError`..
+:exc:`NotImplementedError`.
``get_current_site`` shortcut
=============================