Commit 7d0e190a authored by Ysabella Panghulan's avatar Ysabella Panghulan

created forms.py

parent 6a9f8c42
from django import forms
from django.forms import ModelForm
from .models import Location, Event
class LocationForm(ModelForm):
class Meta:
model = Location
fields = '__all__'
class EventForm(ModelForm):
class Meta:
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