This site is an archive; learn more about 8 years of OpenHatch.

[OH-Dev] [issue717] Audit hooks in mysite/profile/models.py

walkerh bugs at openhatch.org
Thu Mar 15 00:30:48 UTC 2012


New submission from walkerh <walker.hale.iv at gmail.com>:

For both models.signals.post_save and models.signals.pre_save, you are supposed to check for a 
keyword argument of "raw" and suppress any modifications to other tables if raw is True.

See:
* https://docs.djangoproject.com/en/dev/ref/signals/#pre-save
* https://docs.djangoproject.com/en/dev/ref/signals/#post-save

----------
messages: 3128
milestone: later
nosy: paulproteus, walkerh
priority: feature
status: unread
title: Audit hooks in mysite/profile/models.py

__________________________________________
Roundup issue tracker <bugs at openhatch.org>
<https://openhatch.org/bugs/issue717>
__________________________________________


More information about the Devel mailing list