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:
parent
f6e38f3800
commit
608877c066
|
@ -114,6 +114,8 @@ Arguments sent with this signal:
|
||||||
``instance``
|
``instance``
|
||||||
The actual instance being saved.
|
The actual instance being saved.
|
||||||
|
|
||||||
|
.. versionadded:: 1.3
|
||||||
|
|
||||||
``using``
|
``using``
|
||||||
The database alias being used.
|
The database alias being used.
|
||||||
|
|
||||||
|
@ -137,6 +139,8 @@ Arguments sent with this signal:
|
||||||
``created``
|
``created``
|
||||||
A boolean; ``True`` if a new record was created.
|
A boolean; ``True`` if a new record was created.
|
||||||
|
|
||||||
|
.. versionadded:: 1.3
|
||||||
|
|
||||||
``using``
|
``using``
|
||||||
The database alias being used.
|
The database alias being used.
|
||||||
|
|
||||||
|
@ -157,6 +161,8 @@ Arguments sent with this signal:
|
||||||
``instance``
|
``instance``
|
||||||
The actual instance being deleted.
|
The actual instance being deleted.
|
||||||
|
|
||||||
|
.. versionadded:: 1.3
|
||||||
|
|
||||||
``using``
|
``using``
|
||||||
The database alias being used.
|
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
|
Note that the object will no longer be in the database, so be very
|
||||||
careful what you do with this instance.
|
careful what you do with this instance.
|
||||||
|
|
||||||
|
.. versionadded:: 1.3
|
||||||
|
|
||||||
``using``
|
``using``
|
||||||
The database alias being used.
|
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``.
|
For the ``pre_clear`` and ``post_clear`` actions, this is ``None``.
|
||||||
|
|
||||||
|
.. versionadded:: 1.3
|
||||||
|
|
||||||
``using``
|
``using``
|
||||||
The database alias being used.
|
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:
|
Arguments sent with this signal:
|
||||||
|
|
||||||
sender
|
``sender``
|
||||||
The :class:`~django.template.Template` object which was rendered.
|
The :class:`~django.template.Template` object which was rendered.
|
||||||
|
|
||||||
template
|
``template``
|
||||||
Same as sender
|
Same as sender
|
||||||
|
|
||||||
context
|
``context``
|
||||||
The :class:`~django.template.Context` with which the template was
|
The :class:`~django.template.Context` with which the template was
|
||||||
rendered.
|
rendered.
|
||||||
|
|
||||||
|
@ -494,12 +504,12 @@ connection commands to the SQL backend.
|
||||||
|
|
||||||
Arguments sent with this signal:
|
Arguments sent with this signal:
|
||||||
|
|
||||||
sender
|
``sender``
|
||||||
The database wrapper class -- i.e.
|
The database wrapper class -- i.e.
|
||||||
:class:`django.db.backends.postgresql_psycopg2.DatabaseWrapper` or
|
:class:`django.db.backends.postgresql_psycopg2.DatabaseWrapper` or
|
||||||
:class:`django.db.backends.mysql.DatabaseWrapper`, etc.
|
:class:`django.db.backends.mysql.DatabaseWrapper`, etc.
|
||||||
|
|
||||||
connection
|
``connection``
|
||||||
The database connection that was opened. This can be used in a
|
The database connection that was opened. This can be used in a
|
||||||
multiple-database configuration to differentiate connection signals
|
multiple-database configuration to differentiate connection signals
|
||||||
from different databases.
|
from different databases.
|
||||||
|
|
Loading…
Reference in New Issue