Commit 8f1ed8d0 authored by Jan Ericsson Ong Ang's avatar Jan Ericsson Ong Ang

edited forms.py to add fields attribute

parent 793c4260
...@@ -4,3 +4,4 @@ from .models import Event ...@@ -4,3 +4,4 @@ from .models import Event
class AddEventForm(forms.ModelForm): class AddEventForm(forms.ModelForm):
class Meta: class Meta:
model = Event model = Event
fields = "__all__"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment