#8077: Add ability to disable signals one a per-object-per-event basis.
----------------------------------------------+-----------------------------
          Reporter:  [email protected]  |         Owner:  nobody 
            Status:  new                      |     Milestone:         
         Component:  Core framework           |       Version:  SVN    
        Resolution:                           |      Keywords:  signals
             Stage:  Design decision needed   |     Has_patch:  1      
        Needs_docs:  0                        |   Needs_tests:  0      
Needs_better_patch:  0                        |  
----------------------------------------------+-----------------------------
Comment (by davedash):

 Can't your signal check for a flag that you set on your model instance and
 run accordingly?

 def myhandler(sender, instance, **kw):
   if instance.skip_post_save:
     return

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8077#comment:11>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
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.

Reply via email to