mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
0fbadfd1c8
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
13 lines
335 B
Python
13 lines
335 B
Python
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'
|