summaryrefslogtreecommitdiff
path: root/workshop_app/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'workshop_app/forms.py')
-rw-r--r--workshop_app/forms.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/workshop_app/forms.py b/workshop_app/forms.py
index a7f3fa1..eb74a99 100644
--- a/workshop_app/forms.py
+++ b/workshop_app/forms.py
@@ -1,6 +1,11 @@
from django import forms
from .models import Profile, Course, Workshop
-from string import punctuation, digits, letters
+from string import punctuation, digits
+try:
+ from string import letters
+except:
+ from string import ascii_letters as letters
+
from django.contrib.auth.models import User
from django.contrib.auth import authenticate
@@ -129,6 +134,6 @@ class CreateWorkshop(forms.ModelForm):
class Meta:
model = Workshop
- fields = ['workshop_title', 'date', 'start_time', 'end_time']
-
+ fields = ['workshop_title', 'recurrences']
+