mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #15856 -- Added Macedonian localflavor. Many thanks to vasiliyeah.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
14
tests/regressiontests/localflavor/mk/models.py
Normal file
14
tests/regressiontests/localflavor/mk/models.py
Normal file
@@ -0,0 +1,14 @@
|
||||
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)
|
||||
municipality_req = MKMunicipalityField(blank = False)
|
||||
|
||||
class Meta:
|
||||
app_label = 'localflavor'
|
||||
Reference in New Issue
Block a user