diff --git a/django/contrib/auth/__init__.py b/django/contrib/auth/__init__.py index 7fb6370c321..173ce1eaf07 100644 --- a/django/contrib/auth/__init__.py +++ b/django/contrib/auth/__init__.py @@ -33,7 +33,7 @@ def load_backend(path): if not hasattr(cls, 'supports_inactive_user'): warn("Authentication backends without a `supports_inactive_user` attribute are deprecated. Please define it in %s." % cls, - DeprecationWarning) + PendingDeprecationWarning) cls.supports_inactive_user = False return cls() diff --git a/docs/releases/1.3.txt b/docs/releases/1.3.txt index e05b502450a..d41dc8630cf 100644 --- a/docs/releases/1.3.txt +++ b/docs/releases/1.3.txt @@ -151,7 +151,7 @@ of the template and context that was provided by the view to compute the response. The final output of the response is not computed until it is needed, later in the response process. -For more details, see the :ref:`documentation ` +For more details, see the :doc:`documentation ` on the :class:`~django.template.TemplateResponse` class. Caching changes @@ -172,8 +172,8 @@ prefixing ` and :ref:`transformation Lastly, support for pylibmc_ has been added to the memcached cache backend. -For more details, see the :ref:`documentation on -caching in Django`. +For more details, see the :doc:`documentation on +caching in Django`. .. _pylibmc: http://sendapatch.se/projects/pylibmc/ @@ -183,7 +183,7 @@ Permissions for inactive users If you provide a custom auth backend with ``supports_inactive_user`` set to ``True``, an inactive user model will check the backend for permissions. This is useful for further centralizing the permission handling. See the -:ref:`authentication docs ` for more details. +:doc:`authentication docs ` for more details. GeoDjango ~~~~~~~~~ diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt index e5f4bdb444f..84e8ae81999 100644 --- a/docs/topics/auth.txt +++ b/docs/topics/auth.txt @@ -1644,7 +1644,7 @@ Authorization for inactive users An inactive user is a one that is authenticated but has its attribute ``is_active`` set to ``False``. However this does not mean they are not -authrozied to do anything. For example they are allowed to activate their +authorized to do anything. For example they are allowed to activate their account. The support for anonymous users in the permission system allows for