summaryrefslogtreecommitdiff
path: root/tests/regressiontests/localflavor/mk/models.py
blob: 29a8f587de533105702e4f137e49b910f3ae05db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from django.contrib.localflavor.mk.models import (
    MKIdentityCardNumberField, MKMunicipalityField, UMCNField)
from django.db import models


class MKPerson(models.Model):
    first_name = models.CharField(max_length = 20)
    last_name = models.CharField(max_length = 20)
    umcn = UMCNField()
    id_number = MKIdentityCardNumberField()
    municipality  = MKMunicipalityField(blank = True)
    municipality_req = MKMunicipalityField(blank = False)

    class Meta:
        app_label = 'localflavor'