summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/signals.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt
index 4bc1f3f59c..0108819b77 100644
--- a/docs/ref/signals.txt
+++ b/docs/ref/signals.txt
@@ -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
--------
@@ -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