I am trying to set up a system where every time something happens in the admin console (let\'s say, a user is saved), a certain set of people gets notified.I hooked up post_save and
Based on Django\'s documentation I was reading, it seems like signals.py in the app folder is a good place to start with, but the problem I\'m facing is that when I create signals for pre_save and I t
I\'m totally confused and have no idea how to do this, so please forgive me if my description/information is bad.
I have 3 models class A(models.Model): ...some fields.. class B(models.Model): a = models.ManyToManyField(A, through=\'C\')
I have a Django model with multiple ImageFields and use a callable to determine the upload path. I want to include the originating upload field\'s name in the upload path, in this case tiny, small, me
I want admins to be notified when certain objects are deleted but I also want to determine which user is performing the delete.
I\'d like to register a signal handler on the User model that looks something like this: def post_save_handler(sender, instance, created, **kwargs):
In Django, my code on catching pre_save signal works well. However, in testcases in tests.py, the signal handler cannot receive anything. Is there any hint for this problem?
I am trying to add a location field to a user\'s profile in django-registration. I have added the following model:
I\'m having problems with connecting to a signal in django. I\'ve been following a tutorial available at http://dmitko.ru/?p=546 and tried to extend user registration.