Author: jacob Date: 2008-08-26 14:23:59 -0500 (Tue, 26 Aug 2008) New Revision: 8591
Modified: django/trunk/docs/ref/contrib/comments/signals.txt django/trunk/docs/ref/signals.txt Log: Fixed some Sphinx markup in signals docs. Modified: django/trunk/docs/ref/contrib/comments/signals.txt =================================================================== --- django/trunk/docs/ref/contrib/comments/signals.txt 2008-08-26 19:04:52 UTC (rev 8590) +++ django/trunk/docs/ref/contrib/comments/signals.txt 2008-08-26 19:23:59 UTC (rev 8591) @@ -16,6 +16,7 @@ ====================== .. data:: django.contrib.comments.signals.comment_will_be_posted + :module: Sent just before a comment will be saved, after it's been sanity checked and submitted. This can be used to modify the comment (in place) with posting @@ -44,7 +45,8 @@ ================== .. data:: django.contrib.comments.signals.comment_was_posted - + :module: + Sent just after the comment is saved. Arguments sent with this signal: @@ -63,6 +65,9 @@ comment_was_flagged =================== +.. data:: django.contrib.comments.signals.comment_was_flagged + :module: + Sent after a comment was "flagged" in some way. Check the flag to see if this was a user requesting removal of a comment, a moderator approving/removing a comment, or some other custom user flag. Modified: django/trunk/docs/ref/signals.txt =================================================================== --- django/trunk/docs/ref/signals.txt 2008-08-26 19:04:52 UTC (rev 8590) +++ django/trunk/docs/ref/signals.txt 2008-08-26 19:23:59 UTC (rev 8591) @@ -33,8 +33,11 @@ pre_init -------- -.. data:: django.db.models.signals.pre_init +.. attribute:: django.db.models.signals.pre_init + :module: +.. ^^^^^^^ this :module: hack keeps Sphinx from prepending the module. + Whenever you instantiate a Django model,, this signal is sent at the beginning of the model's :meth:`~django.db.models.Model.__init__` method. @@ -74,6 +77,7 @@ --------- .. data:: django.db.models.signals.post_init + :module: Like pre_init, but this one is sent when the :meth:`~django.db.models.Model.__init__`: method finishes. @@ -89,7 +93,8 @@ -------- .. data:: django.db.models.signals.pre_save - + :module: + This is sent at the beginning of a model's :meth:`~django.db.models.Model.save` method. @@ -105,7 +110,8 @@ --------- .. data:: django.db.models.signals.post_save - + :module: + Like :data:`pre_save`, but sent at the end of the :meth:`~django.db.models.Model.save` method. @@ -124,7 +130,8 @@ ---------- .. data:: django.db.models.signals.pre_delete - + :module: + Sent at the beginning of a model's :meth:`~django.db.models.Model.delete` method. @@ -140,7 +147,8 @@ ----------- .. data:: django.db.models.signals.post_delete - + :module: + Like :data:`pre_delete`, but sent at the end of the :meth:`~django.db.models.Model.delete` method. @@ -159,7 +167,8 @@ -------------- .. data:: django.db.models.signals.class_prepared - + :module: + Sent whenever a model class has been "prepared" -- that is, once model has been defined and registered with Django's model system. Django uses this signal internally; it's not generally used in third-party applications. @@ -178,6 +187,7 @@ ----------- .. data:: django.db.models.signals.post_syncdb + :module: Sent by :djadmin:`syncdb` after it installs an application. @@ -227,7 +237,8 @@ --------------- .. data:: django.core.signals.request_started - + :module: + Sent when Django begins processing an HTTP request. Arguments sent with this signal: @@ -242,7 +253,8 @@ ---------------- .. data:: django.core.signals.request_finished - + :module: + Sent when Django finishes processing an HTTP request. Arguments sent with this signal: @@ -254,7 +266,8 @@ --------------------- .. data:: django.core.signals.got_request_exception - + :module: + This signal is sent whenever Django encounters an exception while processing an incoming HTTP request. Arguments sent with this signal: @@ -277,7 +290,8 @@ ----------------- .. data:: django.test.signals.template_rendered - + :module: + Sent when the test system renders a template. This signal is not emitted during normal operation of a Django server -- it is only available during testing. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
