1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed broken links, round 4. refs #19516

This commit is contained in:
Tim Graham
2012-12-29 10:35:12 -05:00
parent 13a2b11425
commit 067505ad19
30 changed files with 162 additions and 156 deletions

View File

@@ -349,7 +349,7 @@ Login and logout signals
The auth framework uses two :doc:`signals </topics/signals>` that can be used
for notification when a user logs in or out.
.. function:: django.contrib.auth.signals.user_logged_in
.. function:: user_logged_in
Sent when a user logs in successfully.
@@ -364,7 +364,7 @@ for notification when a user logs in or out.
``user``
The user instance that just logged in.
.. function:: django.contrib.auth.signals.user_logged_out
.. function:: user_logged_out
Sent when the logout method is called.
@@ -379,9 +379,9 @@ for notification when a user logs in or out.
The user instance that just logged out or ``None`` if the
user was not authenticated.
.. function:: django.contrib.auth.signals.user_login_failed
.. function:: user_login_failed
.. versionadded:: 1.5
.. versionadded:: 1.5
Sent when the user failed to login successfully

View File

@@ -140,6 +140,8 @@ with the rest of :ref:`Django's unit tests <running-unit-tests>`.
Run only GeoDjango tests
------------------------
.. class:: django.contrib.gis.tests.GeoDjangoTestSuiteRunner
To run *only* the tests for GeoDjango, the :setting:`TEST_RUNNER`
setting must be changed to use the
:class:`~django.contrib.gis.tests.GeoDjangoTestSuiteRunner`::

View File

@@ -149,6 +149,8 @@ tags for the levels you wish to override::
Using messages in views and templates
=====================================
.. function:: add_message(request, level, message, extra_tags='', fail_silently=False)
Adding a message
----------------