diff --git a/apps/member/forms.py b/apps/member/forms.py index a74ddb90..62b1667e 100644 --- a/apps/member/forms.py +++ b/apps/member/forms.py @@ -76,7 +76,7 @@ class ProfileForm(forms.ModelForm): class Meta: model = Profile fields = '__all__' - exclude = ('user', 'email_confirmed', 'registration_valid', ) + exclude = ('user', 'email_confirmed', 'registration_valid','ml_sport_registration', ) class ImageForm(forms.Form): diff --git a/note.cron b/note.cron index dc1f6460..2f75f989 100644 --- a/note.cron +++ b/note.cron @@ -26,3 +26,5 @@ MAILTO=notekfet2020@lists.crans.org 00 9 * * * root cd /var/www/note_kfet && env/bin/python manage.py refresh_highlighted_buttons -v 0 # Vider les tokens Oauth2 00 6 * * * root cd /var/www/note_kfet && env/bin/python manage.py cleartokens -v 0 +# Envoyer la liste des abonnés à la NL BDA + 00 8 * * 0 root cd /var/www/note_kfet && env/bin/python manage.py extract_ml_registrations -t art -v 0 \ No newline at end of file