X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/aebabac1cdd22e3429e8a3697b64f840d031b30e..e3c459839d07faca7363ace21d6d2590645899cb:/prawokultury/contact_forms.py diff --git a/prawokultury/contact_forms.py b/prawokultury/contact_forms.py index 9beda3d..6a5130f 100644 --- a/prawokultury/contact_forms.py +++ b/prawokultury/contact_forms.py @@ -7,7 +7,7 @@ from contact.forms import ContactForm from contact.models import Contact from contact.fields import HeaderField from django.utils.functional import lazy -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import ugettext_noop as _ from django.utils.safestring import mark_safe from migdal.models import Entry @@ -21,6 +21,7 @@ class RegistrationForm(ContactForm): save_as_tag = '2017' conference_name = u'CopyCamp 2017' + notify_on_register = False form_title = _('Registration') admin_list = ['first_name', 'last_name', 'organization'] @@ -36,8 +37,8 @@ class RegistrationForm(ContactForm): label=_("I'm planning to show up on"), choices=[ ('both', _('Both days of the conference')), - ('only-27th', _('October 27th only')), - ('only-28th', _('October 28th only')), + ('only-28th', _('September 28th only')), + ('only-29th', _('September 29th only')), ], widget=forms.RadioSelect()) # ankieta @@ -148,7 +149,7 @@ class RegistrationForm(ContactForm): def survey_fields(self): return [self[name] for name in ( - 'times_attended', 'age', 'distance', + 'times_attended', 'age', 'areas', 'areas_other', 'source', 'source_other', 'motivation', 'motivation_other')] def agreement_fields(self): @@ -179,7 +180,6 @@ tracks = ( class RegisterSpeaker(RegistrationForm): - from django.utils.translation import ugettext_noop as _ form_tag = 'register-speaker' save_as_tag = '2017-speaker' form_title = _('Open call for presentations')