mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #10969: Made US State field a CharField, fixing a few oddities in its behavior. Thanks Paul McLanahan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
14
tests/regressiontests/localflavor/forms.py
Normal file
14
tests/regressiontests/localflavor/forms.py
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Reference in New Issue
Block a user