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

12 lines
250 B
Python

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