mirror of
https://github.com/django/django.git
synced 2024-11-19 07:54:07 +00:00
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
|