mirror of
https://github.com/django/django.git
synced 2024-12-26 11:06:07 +00:00
8c0eefd066
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
16 lines
506 B
Python
16 lines
506 B
Python
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'
|