X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/2f54b055fca03ac78035f07540753838c1e6a535..e3c459839d07faca7363ace21d6d2590645899cb:/prawokultury/contact_forms.py?ds=sidebyside diff --git a/prawokultury/contact_forms.py b/prawokultury/contact_forms.py index 013c1f2..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 @@ -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')