#10672: Proxy Model does not send save signal
---------------------------------------------------+------------------------
          Reporter:  zbyte64                       |         Owner:  nobody    
            Status:  new                           |     Milestone:  1.1       
         Component:  Database layer (models, ORM)  |       Version:  1.1-beta-1
        Resolution:                                |      Keywords:            
             Stage:  Design decision needed        |     Has_patch:  1         
        Needs_docs:  0                             |   Needs_tests:  0         
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Comment (by Valera_Grishin):

 I have a similar problem though with simpler code (w/o proxy):

 {{{
 #!python
 from django.db import models
 from django.db.models.signals import post_save

 class MyModel(models.Model):
     pass

 class ChangeLinstener:
     def __init__(self):
         def listener(sender, **kwargs):
             print "MyModel changed"
         post_save.connect(listener, sender=MyModel)
 }}}

 The listener never called. And patch doesn't help.
 Is it the same problem OR should I open another ticket?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10672#comment:6>
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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to