mirror of
https://github.com/django/django.git
synced 2024-11-19 07:54:07 +00: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'
|