All looks very well. Only one comment. Instead of using the Q object for the OR query, it should be possible to use the __in operator (like email_set.filter(status__in=(PREFERRED, VALIDATED)))
Since this change is not really important, but a matter of taste, I approve the mp already. If you want, change it, otherwise, do not :)
All looks very well. Only one comment. Instead of using the Q object for the OR query, it should be possible to use the __in operator (like email_set. filter( status_ _in=(PREFERRED, VALIDATED)))
Since this change is not really important, but a matter of taste, I approve the mp already. If you want, change it, otherwise, do not :)