
from django.views.generic.edit import CreateView, UpdateView, DeleteView

from entertainment_tonight.models import Event


class EventCreate(CreateView):
    # trying to create a new event
    model = Event
    fields = ['event_name', 'event_location', 'event_address', 'event_type', 'upload_photo', 'event_creator','created_at','event_date']