Code

Changes between Version 4 and Version 5 of Signals


Ignore:
Timestamp:
06/30/06 23:09:58 (8 years ago)
Author:
Tyson Tate <tyson@…>
Comment:

Fixed wiki-words

Legend:

Unmodified
Added
Removed
Modified
  • Signals

    v4 v5  
    4242== Example == 
    4343 
    44 The following is taken from [http://zyons.com/ Zyons], the only place I've seen signals used so far. Unless I'm completely incorrect, the following code has the dispatcher call "increment_tag_summary" before a TagUserObject object is saved, and "decrement_tag_summary" after a TagUserObject object is deleted. 
     44The following is taken from [http://zyons.com/ Zyons], the only place I've seen signals used so far. Unless I'm completely incorrect, the following code has the dispatcher call "increment_tag_summary" before a !TagUserObject object is saved, and "decrement_tag_summary" after a !TagUserObject object is deleted. 
    4545 
    4646=== models.py ===