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

@@ -0,0 +1,12 @@
from django.db import models
from django.contrib.localflavor.mx.models import (
MXStateField, MXRFCField, MXCURPField, MXZipCodeField)
class MXPersonProfile(models.Model):
state = MXStateField()
rfc = MXRFCField()
curp = MXCURPField()
zip_code = MXZipCodeField()
class Meta:
app_label = 'localflavor'