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