mirror of
https://github.com/django/django.git
synced 2024-12-27 19:46:22 +00:00
8c0eefd066
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
12 lines
250 B
Python
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
|