troggle-unchained/expo/forms.py

10 lines
209 B
Python
Raw Normal View History

from django.forms import ModelForm
from models import Cave, Person
class CaveForm(ModelForm):
class Meta:
model = Cave
class PersonForm(ModelForm):
class Meta:
model = Person