|
|
|
@ -0,0 +1,29 @@ |
|
|
|
# -*- coding: utf-8 -*- |
|
|
|
# Generated by Django 1.9 on 2017-04-11 10:43 |
|
|
|
from __future__ import unicode_literals |
|
|
|
|
|
|
|
import django.core.validators |
|
|
|
from django.db import migrations, models |
|
|
|
import django.db.models.deletion |
|
|
|
import re |
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration): |
|
|
|
|
|
|
|
dependencies = [ |
|
|
|
('abonapp', '0014_auto_20170330_1452'), |
|
|
|
] |
|
|
|
|
|
|
|
operations = [ |
|
|
|
migrations.CreateModel( |
|
|
|
name='PassportInfo', |
|
|
|
fields=[ |
|
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
|
|
('series', models.CharField(max_length=4, validators=[django.core.validators.RegexValidator(re.compile('^-?\\d+\\Z', 32), code='invalid', message='Enter a valid integer.')])), |
|
|
|
('number', models.CharField(max_length=6, validators=[django.core.validators.RegexValidator(re.compile('^-?\\d+\\Z', 32), code='invalid', message='Enter a valid integer.')])), |
|
|
|
('distributor', models.CharField(max_length=64)), |
|
|
|
('date_of_acceptance', models.DateField()), |
|
|
|
('abon', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='abonapp.Abon')), |
|
|
|
], |
|
|
|
), |
|
|
|
] |