cmsmanage/tasks/forms.py

9 lines
168 B
Python
Raw Normal View History

from django import forms
from .models import Event
class EventForm(forms.ModelForm):
class Meta:
model = Event
fields = ['date', 'user', 'notes']