Skip to content

Commit

Permalink
[1.2.X] Fixed a crossref formatting problem in the signals reference …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
Gabriel Hurley committed Dec 29, 2010
1 parent 8db865c commit 116804f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/ref/signals.txt
Expand Up @@ -31,9 +31,9 @@ module system.
If you override these methods on your model, you must call the parent class'
methods for this signals to be sent.

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
prevent this, pass ``weak=False`` when you call the signal's :meth:`~django.dispatch.Signal.connect`.
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
prevent this, pass ``weak=False`` when you call the signal's :meth:`~django.dispatch.Signal.connect`.

pre_init
--------
Expand Down Expand Up @@ -466,8 +466,8 @@ Arguments sent with this signal:

sender
The database wrapper class -- i.e.
:class: `django.db.backends.postgresql_psycopg2.DatabaseWrapper` or
:class: `django.db.backends.mysql.DatabaseWrapper`, etc.
:class:`django.db.backends.postgresql_psycopg2.DatabaseWrapper` or
:class:`django.db.backends.mysql.DatabaseWrapper`, etc.

connection
The database connection that was opened. This can be used in a
Expand Down

0 comments on commit 116804f

Please sign in to comment.