Fixed #15207 -- Added versionadded directives for the "using" argument sent by signals, and cleaned up some incidental indentation/formatting inconsistencies. Thanks to Keryn Knight for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gabriel Hurley 2011-02-07 22:18:14 +00:00
parent f6e38f3800
commit 608877c066
1 changed files with 132 additions and 122 deletions

View File

@ -114,6 +114,8 @@ Arguments sent with this signal:
``instance``
The actual instance being saved.
.. versionadded:: 1.3
``using``
The database alias being used.
@ -137,6 +139,8 @@ Arguments sent with this signal:
``created``
A boolean; ``True`` if a new record was created.
.. versionadded:: 1.3
``using``
The database alias being used.
@ -157,6 +161,8 @@ Arguments sent with this signal:
``instance``
The actual instance being deleted.
.. versionadded:: 1.3
``using``
The database alias being used.
@ -180,6 +186,8 @@ Arguments sent with this signal:
Note that the object will no longer be in the database, so be very
careful what you do with this instance.
.. versionadded:: 1.3
``using``
The database alias being used.
@ -242,6 +250,8 @@ Arguments sent with this signal:
For the ``pre_clear`` and ``post_clear`` actions, this is ``None``.
.. versionadded:: 1.3
``using``
The database alias being used.
@ -460,13 +470,13 @@ normal operation of a Django server -- it is only available during testing.
Arguments sent with this signal:
sender
``sender``
The :class:`~django.template.Template` object which was rendered.
template
``template``
Same as sender
context
``context``
The :class:`~django.template.Context` with which the template was
rendered.
@ -494,12 +504,12 @@ connection commands to the SQL backend.
Arguments sent with this signal:
sender
``sender``
The database wrapper class -- i.e.
:class:`django.db.backends.postgresql_psycopg2.DatabaseWrapper` or
:class:`django.db.backends.mysql.DatabaseWrapper`, etc.
connection
``connection``
The database connection that was opened. This can be used in a
multiple-database configuration to differentiate connection signals
from different databases.