mirror of
https://github.com/django/django.git
synced 2024-12-28 03:55:50 +00:00
59d1f82634
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
8 lines
207 B
Python
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
|