django1/tests/regressiontests/localflavor/mx/models.py

13 lines
335 B
Python
Raw Normal View History

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'