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

14 lines
336 B
Python

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