Ajout d'un outil pour transformer tous les messages en spam
This commit is contained in:
parent
360f7649ab
commit
3ffffd8c4e
5
src/scripts/set_spam_all_contactmessages.py
Normal file
5
src/scripts/set_spam_all_contactmessages.py
Normal file
@ -0,0 +1,5 @@
|
||||
from agenda_culturel.models import ContactMessage
|
||||
|
||||
|
||||
def run():
|
||||
ContactMessage.objects.all().update(spam=True)
|
Loading…
x
Reference in New Issue
Block a user