diff --git a/fet2020/intern/forms.py b/fet2020/intern/forms.py index e9761345..bf6b34e1 100644 --- a/fet2020/intern/forms.py +++ b/fet2020/intern/forms.py @@ -14,6 +14,7 @@ class TopicGroupAdminForm(forms.ModelForm): model = TopicGroup fields = [ "title", + "slug", ] @@ -22,6 +23,7 @@ class TopicAdminForm(forms.ModelForm): model = Topic fields = [ "title", + "slug", "archive", "description", "topic_group", @@ -35,6 +37,7 @@ class DocumentationAdminForm(forms.ModelForm): model = Documentation fields = [ "title", + "slug", "placeholder", "description", "topic", @@ -59,6 +62,7 @@ class DocumentForm(forms.ModelForm): fields = [ "title", "date", + "documentation", ] labels = { @@ -67,7 +71,5 @@ class DocumentForm(forms.ModelForm): } widgets = { - "date": DateInput( - format=("%d-%m-%Y"), - ) + "date": DateInput(format=("%d-%m-%Y")), }