Make presentation not required in a registration form
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 10 Jun 2014 12:18:28 +0000 (14:18 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 10 Jun 2014 12:18:28 +0000 (14:18 +0200)
prawokultury/contact_forms.py

index 11ae7b9..d9d4b79 100644 (file)
@@ -69,7 +69,7 @@ class RegisterSpeaker(RegistrationForm):
     title = forms.CharField(label=_('Title of presentation'),
             max_length=256, required=True)
     presentation = forms.FileField(label=_('Presentation'),
-            required=True)
+            required=False)
     summary = forms.CharField(label=_('Summary of presentation (max. 1800 characters)'),
             widget=forms.Textarea, max_length=1800, required=True)