mirror of
https://github.com/django/django.git
synced 2024-11-19 16:04:13 +00:00
15 lines
322 B
Python
15 lines
322 B
Python
|
from django.forms import ModelForm
|
||
|
from models import Place
|
||
|
|
||
|
class PlaceForm(ModelForm):
|
||
|
"""docstring for PlaceForm"""
|
||
|
class Meta:
|
||
|
model = Place
|
||
|
from django.forms import ModelForm
|
||
|
from models import Place
|
||
|
|
||
|
class PlaceForm(ModelForm):
|
||
|
"""docstring for PlaceForm"""
|
||
|
class Meta:
|
||
|
model = Place
|