Hi David, > models.signals.post_save.connect(flaggedentry_post_save, > sender=FlaggedEntry, dispatch_uid='mofin.store.models')
Top tip - this worked perfectly. I see this is documented only on the wiki, I couldn't find it in the official docs. > I've found a useful place to put signal registrations is django app dir > __init__.py file. Otherwise they're sometimes not found until a bit > late, but each app's __init__.py is hit quite early on (so long as > they're in INSTALLED_APPS I guess) Yeah, I've always been in a bit of a quandry where to put them. I note that the docs now recommend models.py as 'a good candidate' - although the more specific notes for things like the post_syncdb signal mention putting that one in particular in your app's management package. Thanks again. Cheers, Dan -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.