mirror of
https://github.com/django/django.git
synced 2024-12-30 21:16:26 +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
|