X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/9fae328f6c1e7e5c1f4485ddbab71b4000dbd110..d2e59d49b9fad8542ed2c15fd05b0d373bf822a5:/prawokultury/contact_forms.py diff --git a/prawokultury/contact_forms.py b/prawokultury/contact_forms.py index 60ef542..798c921 100644 --- a/prawokultury/contact_forms.py +++ b/prawokultury/contact_forms.py @@ -156,7 +156,7 @@ class RegistrationForm(ContactForm): 'areas', 'areas_other', 'source', 'source_other', 'motivation', 'motivation_other')] def agreement_fields(self): - return [self[name] for name in ('agree_mailing', 'agree_data', 'agree_license')] + return [self[name] for name in ('agree_mailing', 'agree_data', 'agree_license', 'agree_toc')] tracks = ( @@ -220,6 +220,7 @@ class RegisterSpeaker(RegistrationForm): def __init__(self, *args, **kw): super(RegisterSpeaker, self).__init__(*args, **kw) + self.started = getattr(settings, 'REGISTRATION_SPEAKER_STARTED', False) self.closed = getattr(settings, 'REGISTRATION_SPEAKER_CLOSED', False) self.fields.keyOrder = [ 'first_name',