mirror of
https://github.com/django/django.git
synced 2025-06-02 10:09:12 +00:00
Fixed #15133 - Some markup issues in the docs; thanks Aryeh Leib Taurog for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
07b92cd489
commit
a757b5b8ca
@ -12,7 +12,7 @@ A list of all the signals that Django sends.
|
|||||||
The :doc:`comment framework </ref/contrib/comments/index>` sends a :doc:`set
|
The :doc:`comment framework </ref/contrib/comments/index>` sends a :doc:`set
|
||||||
of comment-related signals </ref/contrib/comments/signals>`.
|
of comment-related signals </ref/contrib/comments/signals>`.
|
||||||
|
|
||||||
The :ref:`authentication framework <topics-auth>` sends :ref:`signals when
|
The :doc:`authentication framework </topics/auth>` sends :ref:`signals when
|
||||||
a user is logged in / out <topics-auth-signals>`.
|
a user is logged in / out <topics-auth-signals>`.
|
||||||
|
|
||||||
Model signals
|
Model signals
|
||||||
|
@ -61,7 +61,7 @@ Permissions for inactive users
|
|||||||
If you provide a custom auth backend with ``supports_inactive_user`` set to
|
If you provide a custom auth backend with ``supports_inactive_user`` set to
|
||||||
``True``, an inactive user model will check the backend for permissions.
|
``True``, an inactive user model will check the backend for permissions.
|
||||||
This is useful for further centralizing the permission handling. See the
|
This is useful for further centralizing the permission handling. See the
|
||||||
:ref:`authentication docs <topics-auth>` for more details.
|
:doc:`authentication docs </topics/auth>` for more details.
|
||||||
|
|
||||||
Backwards-incompatible changes in 1.3 alpha 2
|
Backwards-incompatible changes in 1.3 alpha 2
|
||||||
=============================================
|
=============================================
|
||||||
|
@ -657,10 +657,10 @@ How to log a user out
|
|||||||
Login and logout signals
|
Login and logout signals
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
The auth framework uses two :ref:`signals <topic-signals>` that can be used for
|
The auth framework uses two :doc:`signals </topics/signals>` that can be used
|
||||||
notification when a user logs in or out.
|
for notification when a user logs in or out.
|
||||||
|
|
||||||
**:data:`django.contrib.auth.signals.user_logged_in`**
|
.. data:: django.contrib.auth.signals.user_logged_in
|
||||||
|
|
||||||
Sent when a user logs in successfully.
|
Sent when a user logs in successfully.
|
||||||
|
|
||||||
@ -675,7 +675,7 @@ Arguments sent with this signal:
|
|||||||
``user``
|
``user``
|
||||||
The user instance that just logged in.
|
The user instance that just logged in.
|
||||||
|
|
||||||
**:data:`django.contrib.auth.signals.user_logged_out`**
|
.. data:: django.contrib.auth.signals.user_logged_outs
|
||||||
|
|
||||||
Sent when the logout method is called.
|
Sent when the logout method is called.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user