django/tests/regressiontests/localflavor/au/forms.py

8 lines
207 B
Python

from django.forms import ModelForm
from models import AustralianPlace
class AustralianPlaceForm(ModelForm):
""" Form for storing an Australian place. """
class Meta:
model = AustralianPlace