2011-06-12 13:31:40 +00:00
|
|
|
from django.db import models
|
|
|
|
from django.contrib.localflavor.mk.models import (
|
|
|
|
MKIdentityCardNumberField, MKMunicipalityField, UMCNField)
|
|
|
|
|
|
|
|
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)
|
2011-07-29 10:20:16 +00:00
|
|
|
municipality_req = MKMunicipalityField(blank = False)
|
2011-06-12 13:31:40 +00:00
|
|
|
|
|
|
|
class Meta:
|
|
|
|
app_label = 'localflavor'
|