From 47fda0ea360de23e073982c9c6c30ff150933f47 Mon Sep 17 00:00:00 2001 From: thomasl Date: Sun, 2 Feb 2025 13:17:19 +0100 Subject: [PATCH] Update file forms.py --- apps/member/forms.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/member/forms.py b/apps/member/forms.py index 62b1667e..9bc4c8ec 100644 --- a/apps/member/forms.py +++ b/apps/member/forms.py @@ -76,7 +76,9 @@ class ProfileForm(forms.ModelForm): class Meta: model = Profile fields = '__all__' - exclude = ('user', 'email_confirmed', 'registration_valid','ml_sport_registration', ) + # Remove ml_[asso]_registration from exclude if the concerned association uses nk20 to manage its mailing list. + # Remove report_frequency from exclude if you want to use this feature. + exclude = ('user', 'email_confirmed', 'registration_valid', 'ml_sport_registration', "ml_events_registration", "report_frequency", ) class ImageForm(forms.Form):