diff options
Diffstat (limited to 'docs/ref/contrib')
| -rw-r--r-- | docs/ref/contrib/auth.txt | 3 | ||||
| -rw-r--r-- | docs/ref/contrib/sites.txt | 2 |
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 ============================= |
