Private
Public Access
1
0

better course country detecton

This commit is contained in:
Sander Roosendaal
2020-07-12 09:05:08 +02:00
parent f893ad7626
commit 224ae2faa5
4 changed files with 26 additions and 17 deletions

View File

@@ -209,6 +209,7 @@ class CourseForm(forms.Form):
notes = forms.CharField(required=False,
max_length=200,label='Course Notes',
widget=forms.Textarea)
country = forms.CharField(required=False,max_length=150,label='Country')
def __init__(self, *args, **kwargs):
from django.forms.widgets import HiddenInput