mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-02-05 14:53:01 +00:00
Update file forms.py
This commit is contained in:
parent
623290827a
commit
47fda0ea36
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user