1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #16497 -- Added new form and model fields to the Mexican local flavor. Many thanks to Andrés Torres Marroquín and Gerardo Orozco.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel
2011-07-29 10:20:16 +00:00
parent 4a6e1b5613
commit 0fbadfd1c8
16 changed files with 578 additions and 5 deletions

View File

@@ -2,6 +2,6 @@ from django.forms import ModelForm
from models import USPlace
class USPlaceForm(ModelForm):
"""docstring for PlaceForm"""
class Meta:
model = USPlace

View File

@@ -11,5 +11,6 @@ class USPlace(models.Model):
state_default = USStateField(default="CA", blank=True)
postal_code = USPostalCodeField(blank=True)
name = models.CharField(max_length=20)
class Meta:
app_label = 'localflavor'