mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
[1.2.X] Fixed a crossref formatting problem in the signals reference docs.
Backport of [15092] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8db865c8fb
commit
116804fbb5
@ -31,9 +31,9 @@ module system.
|
|||||||
If you override these methods on your model, you must call the parent class'
|
If you override these methods on your model, you must call the parent class'
|
||||||
methods for this signals to be sent.
|
methods for this signals to be sent.
|
||||||
|
|
||||||
Note also that Django stores signal handlers as weak references by default,
|
Note also that Django stores signal handlers as weak references by default,
|
||||||
so if your handler is a local function, it may be garbage collected. To
|
so if your handler is a local function, it may be garbage collected. To
|
||||||
prevent this, pass ``weak=False`` when you call the signal's :meth:`~django.dispatch.Signal.connect`.
|
prevent this, pass ``weak=False`` when you call the signal's :meth:`~django.dispatch.Signal.connect`.
|
||||||
|
|
||||||
pre_init
|
pre_init
|
||||||
--------
|
--------
|
||||||
@ -466,8 +466,8 @@ 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user