Hola,

I have a model with a collection of BooleanFields.

When particular fields change value I'd like to trigger an event (usually
email).

A quick search shows that there are questions like this back to 09.

The two most obvious and recent solutions involve using:

 - django's from_db (
https://docs.djangoproject.com/en/1.11/ref/models/instances/#customizing-model-loading)

or
 - django-model-utils (
https://django-model-utils.readthedocs.io/en/latest/setup.html)

Model utils doesn't support 1.11 but that could just be a documentation
oversight.

What does the crowd think?

cheers
L.


------
"Mission Statement: To provide hope and inspiration for collective action,
to build collective power, to achieve collective transformation, rooted in
grief and rage but pointed towards vision and dreams."

 - Patrisse Cullors, *Black Lives Matter founder*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGBeqiND41VzsmY1vOjFdwGgWeJU6ERAdDEC-fRQnDBTqJg7DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to