You have inconsistent imports so that your signal is being called more than once.
By inconsistent I mean "from myapp.models import foo" and "from models import foo" in different areas of your app/project. Cheers, AT On Mon, Dec 26, 2011 at 2:09 PM, devbird <antig...@gmail.com> wrote: > I've a post_save handler method which stores values in a dictionary, > like > > dictionary[instance.id] = some_value > > I was writing a post_delete handler to pop the value from the > dictionary, when I found that the value had been already popped. > I don't delete or pop the value anywhere else in the code. dictionary > is the attribute of a singleton object. It lives as long as the server > instance is up. > > How could it be possible? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.