diff --git a/src/scripts/set_spam_all_contactmessages.py b/src/scripts/set_spam_all_contactmessages.py new file mode 100644 index 0000000..3dd6671 --- /dev/null +++ b/src/scripts/set_spam_all_contactmessages.py @@ -0,0 +1,5 @@ +from agenda_culturel.models import ContactMessage + + +def run(): + ContactMessage.objects.all().update(spam=True)