18 changed files with 529 additions and 0 deletions
-
24abonapp/migrations/0002_auto_20161206_2135.py
-
22abonapp/migrations/0003_abongroup_profiles.py
-
21accounts_app/migrations/0002_userprofile_email.py
-
25accounts_app/migrations/0003_auto_20161206_2135.py
-
23devapp/migrations/0002_auto_20160909_1018.py
-
115gmap/migrations/0001_initial.py
-
21tariff_app/migrations/0002_tariff_descr.py
-
37taskapp/migrations/0001_initial.py
-
24taskapp/migrations/0002_auto_20161006_0027.py
-
20taskapp/migrations/0003_auto_20161130_1815.py
-
20taskapp/migrations/0004_auto_20161202_1230.py
-
22taskapp/migrations/0005_auto_20161206_0013.py
-
25taskapp/migrations/0006_auto_20161206_2135.py
-
21taskapp/migrations/0007_auto_20161206_2303.py
-
40taskapp/migrations/0008_auto_20161213_1932.py
-
30taskapp/migrations/0009_auto_20161216_2214.py
-
19taskapp/migrations/0010_auto_20161218_1903.py
-
20taskapp/migrations/0011_auto_20161219_1708.py
@ -0,0 +1,24 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-12-06 18:35 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('abonapp', '0001_initial'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.RemoveField( |
|||
model_name='abongroup', |
|||
name='address', |
|||
), |
|||
migrations.AlterField( |
|||
model_name='abongroup', |
|||
name='title', |
|||
field=models.CharField(max_length=127, unique=True), |
|||
), |
|||
] |
|||
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-12-16 19:14 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.conf import settings |
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
|||
('abonapp', '0002_auto_20161206_2135'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='abongroup', |
|||
name='profiles', |
|||
field=models.ManyToManyField(related_name='abon_groups', to=settings.AUTH_USER_MODEL), |
|||
), |
|||
] |
|||
@ -0,0 +1,21 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-11-30 15:15 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('accounts_app', '0001_initial'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='userprofile', |
|||
name='email', |
|||
field=models.EmailField(default='ex@host.loc', max_length=254), |
|||
preserve_default=False, |
|||
), |
|||
] |
|||
@ -0,0 +1,25 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-12-06 18:35 |
|||
from __future__ import unicode_literals |
|||
|
|||
import django.core.validators |
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('accounts_app', '0002_userprofile_email'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.RemoveField( |
|||
model_name='userprofile', |
|||
name='skype', |
|||
), |
|||
migrations.AlterField( |
|||
model_name='userprofile', |
|||
name='telephone', |
|||
field=models.CharField(max_length=16, validators=[django.core.validators.RegexValidator(b'^\\+[7,8,9,3]\\d{10,11}$')], verbose_name=b'Telephone number'), |
|||
), |
|||
] |
|||
@ -0,0 +1,23 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-09-09 07:18 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('devapp', '0001_initial'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterModelTable( |
|||
name='device', |
|||
table='dev', |
|||
), |
|||
migrations.AlterModelTable( |
|||
name='port', |
|||
table='dev_port', |
|||
), |
|||
] |
|||
@ -0,0 +1,115 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-11-30 15:15 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
initial = True |
|||
|
|||
dependencies = [ |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.CreateModel( |
|||
name='CountryISOCode', |
|||
fields=[ |
|||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|||
('long_name', models.CharField(max_length=200)), |
|||
('iso_3', models.CharField(blank=True, max_length=10)), |
|||
('iso_2', models.CharField(blank=True, max_length=10)), |
|||
], |
|||
), |
|||
migrations.CreateModel( |
|||
name='MapMarker', |
|||
fields=[ |
|||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|||
('name', models.CharField(max_length=200)), |
|||
('latitude', models.CharField(blank=True, max_length=30)), |
|||
('longitude', models.CharField(blank=True, max_length=30)), |
|||
('platinum', models.BooleanField(default=False, verbose_name=b'Platinum Partner')), |
|||
('contact_name', models.CharField(blank=True, max_length=50)), |
|||
('contact_title', models.CharField(blank=True, max_length=50)), |
|||
('airport_name', models.CharField(blank=True, max_length=100)), |
|||
('airport_code', models.CharField(blank=True, max_length=6)), |
|||
('address', models.TextField(blank=True, max_length=200)), |
|||
('city', models.CharField(blank=True, max_length=200)), |
|||
('state', models.CharField(blank=True, max_length=50)), |
|||
('zipcode', models.CharField(blank=True, max_length=10)), |
|||
('phone', models.CharField(blank=True, max_length=40)), |
|||
('fax', models.CharField(blank=True, max_length=40)), |
|||
('email', models.EmailField(blank=True, max_length=254)), |
|||
('url', models.URLField(blank=True)), |
|||
], |
|||
), |
|||
migrations.CreateModel( |
|||
name='MarkerCategory', |
|||
fields=[ |
|||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|||
('name', models.CharField(max_length=200, unique=True, verbose_name=b'type')), |
|||
('position', models.IntegerField(default=0)), |
|||
('icon', models.ImageField(blank=True, upload_to=b'gmap-icons/', verbose_name=b'icon')), |
|||
('platinum_icon', models.ImageField(blank=True, upload_to=b'gmap-icons/', verbose_name=b'platinum icon')), |
|||
('shadow', models.ImageField(blank=True, upload_to=b'gmap-icons/', verbose_name=b'icon shadow')), |
|||
], |
|||
), |
|||
migrations.CreateModel( |
|||
name='MarkerSubCategory', |
|||
fields=[ |
|||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|||
('name', models.CharField(max_length=200, unique=True, verbose_name=b'Name')), |
|||
], |
|||
), |
|||
migrations.CreateModel( |
|||
name='SalesBoundary', |
|||
fields=[ |
|||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|||
('boundary_code', models.CharField(max_length=75, verbose_name=b'Boundary Code')), |
|||
], |
|||
), |
|||
migrations.CreateModel( |
|||
name='SalesDirector', |
|||
fields=[ |
|||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|||
('name', models.CharField(max_length=100, unique=True, verbose_name=b'Name')), |
|||
('title', models.CharField(blank=True, max_length=50)), |
|||
('phone', models.CharField(blank=True, max_length=40, verbose_name=b'Phone Number')), |
|||
('email', models.EmailField(blank=True, max_length=254, verbose_name=b'Email')), |
|||
('airport_code', models.CharField(blank=True, max_length=8)), |
|||
('airport_name', models.CharField(blank=True, max_length=50)), |
|||
('address', models.TextField(blank=True, max_length=200)), |
|||
('city', models.CharField(blank=True, max_length=200)), |
|||
('state', models.CharField(blank=True, max_length=100)), |
|||
('zipcode', models.CharField(blank=True, max_length=10)), |
|||
('url', models.URLField(blank=True)), |
|||
('country', models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='gmap.CountryISOCode')), |
|||
], |
|||
), |
|||
migrations.AddField( |
|||
model_name='salesboundary', |
|||
name='owner', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='gmap.SalesDirector'), |
|||
), |
|||
migrations.AddField( |
|||
model_name='mapmarker', |
|||
name='category', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='gmap.MarkerCategory'), |
|||
), |
|||
migrations.AddField( |
|||
model_name='mapmarker', |
|||
name='country', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='gmap.CountryISOCode'), |
|||
), |
|||
migrations.AddField( |
|||
model_name='mapmarker', |
|||
name='sub_categories', |
|||
field=models.ManyToManyField(related_name='sub_categories', to='gmap.MarkerSubCategory'), |
|||
), |
|||
migrations.AlterUniqueTogether( |
|||
name='salesboundary', |
|||
unique_together=set([('boundary_code', 'owner')]), |
|||
), |
|||
] |
|||
@ -0,0 +1,21 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-10-25 22:54 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('tariff_app', '0001_initial'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='tariff', |
|||
name='descr', |
|||
field=models.CharField(default='Descr', max_length=256), |
|||
preserve_default=False, |
|||
), |
|||
] |
|||
@ -0,0 +1,37 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-09-09 07:18 |
|||
from __future__ import unicode_literals |
|||
|
|||
import taskapp.models |
|||
from django.conf import settings |
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
initial = True |
|||
|
|||
dependencies = [ |
|||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
|||
('devapp', '0002_auto_20160909_1018'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.CreateModel( |
|||
name='Task', |
|||
fields=[ |
|||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|||
('descr', models.CharField(max_length=128)), |
|||
('priority', models.CharField(choices=[(b'A', '\u0412\u044b\u0441\u0448\u0438\u0439'), (b'B', '\u0412\u044b\u0448\u0435 \u0441\u0440\u0435\u0434\u043d\u0435\u0433\u043e'), (b'C', '\u0421\u0440\u0435\u0434\u043d\u0438\u0439'), (b'D', '\u041d\u0438\u0436\u0435 \u0441\u0440\u0435\u0434\u043d\u0435\u0433\u043e'), (b'E', '\u041d\u0438\u0437\u043a\u0438\u0439')], default=b'C', max_length=1)), |
|||
('out_date', models.DateField(blank=True, default=taskapp.models._delta_add_days, null=True)), |
|||
('time_of_create', models.DateTimeField(auto_now_add=True)), |
|||
('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='+', to=settings.AUTH_USER_MODEL)), |
|||
('device', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='dev', to='devapp.Device')), |
|||
('recipient', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='+', to=settings.AUTH_USER_MODEL)), |
|||
], |
|||
options={ |
|||
'db_table': 'task', |
|||
}, |
|||
), |
|||
] |
|||
@ -0,0 +1,24 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-10-05 21:27 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('taskapp', '0001_initial'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterModelOptions( |
|||
name='task', |
|||
options={'ordering': ('-id',)}, |
|||
), |
|||
migrations.AddField( |
|||
model_name='task', |
|||
name='state', |
|||
field=models.CharField(choices=[(b'S', '\u041d\u043e\u0432\u0430\u044f'), (b'C', '\u041d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438'), (b'F', '\u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0430')], default=b'S', max_length=1), |
|||
) |
|||
] |
|||
@ -0,0 +1,20 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-11-30 15:15 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('taskapp', '0002_auto_20161006_0027'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='task', |
|||
name='attachment', |
|||
field=models.ImageField(blank=True, null=True, upload_to='task_attachments/%Y.%m.%d'), |
|||
) |
|||
] |
|||
@ -0,0 +1,20 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-12-02 09:30 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('taskapp', '0003_auto_20161130_1815'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='task', |
|||
name='mode', |
|||
field=models.CharField(choices=[(b'na', '\u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043e'), (b'yt', '\u0436\u0451\u043b\u0442\u044b\u0439 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a'), (b'rc', '\u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u043a\u0440\u0435\u0441\u0442\u0438\u043a'), (b'ls', '\u0441\u043b\u0430\u0431\u0430\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c'), (b'cf', '\u043e\u0431\u0440\u044b\u0432 \u043a\u0430\u0431\u0435\u043b\u044f'), (b'cn', '\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435'), (b'pf', '\u043f\u0435\u0440\u0435\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u0440\u043e\u043f\u0430\u0434\u0430\u043d\u0438\u0435'), (b'cr', '\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0430'), (b'ot', '\u0434\u0440\u0443\u0433\u043e\u0435')], default=b'na', max_length=2), |
|||
) |
|||
] |
|||
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-12-05 21:13 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('abonapp', '0001_initial'), |
|||
('taskapp', '0004_auto_20161202_1230'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='task', |
|||
name='abon', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='abonapp.Abon'), |
|||
) |
|||
] |
|||
@ -0,0 +1,25 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-12-06 18:35 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('taskapp', '0005_auto_20161206_0013'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='task', |
|||
name='mode', |
|||
field=models.CharField(choices=[(b'na', '\u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043e'), (b'yt', '\u0436\u0451\u043b\u0442\u044b\u0439 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a'), (b'rc', '\u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u043a\u0440\u0435\u0441\u0442\u0438\u043a'), (b'ls', '\u0441\u043b\u0430\u0431\u0430\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c'), (b'cf', '\u043e\u0431\u0440\u044b\u0432 \u043a\u0430\u0431\u0435\u043b\u044f'), (b'cn', '\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435'), (b'pf', '\u043f\u0435\u0440\u0435\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u0440\u043e\u043f\u0430\u0434\u0430\u043d\u0438\u0435'), (b'cr', '\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0430'), (b'co', '\u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c onu'), (b'fc', '\u043e\u0431\u0436\u0430\u0442\u044c \u043a\u0430\u0431\u0435\u043b\u044c'), (b'ot', '\u0434\u0440\u0443\u0433\u043e\u0435')], default=b'na', max_length=2), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='task', |
|||
name='priority', |
|||
field=models.CharField(choices=[(b'A', '\u0412\u044b\u0441\u0448\u0438\u0439'), (b'C', '\u0421\u0440\u0435\u0434\u043d\u0438\u0439'), (b'E', '\u041d\u0438\u0437\u043a\u0438\u0439')], default=b'E', max_length=1), |
|||
), |
|||
] |
|||
@ -0,0 +1,21 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-12-06 20:03 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('taskapp', '0006_auto_20161206_2135'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='task', |
|||
name='abon', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='abonapp.Abon'), |
|||
) |
|||
] |
|||
@ -0,0 +1,40 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-12-13 16:32 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.conf import settings |
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
|||
('taskapp', '0007_auto_20161206_2303'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.CreateModel( |
|||
name='ChangeLog', |
|||
fields=[ |
|||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|||
('act_type', models.CharField(choices=[(b'e', '\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438'), (b'c', '\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438'), (b'd', '\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438')], max_length=1)), |
|||
('when', models.DateTimeField(auto_now_add=True)), |
|||
], |
|||
), |
|||
migrations.AlterModelOptions( |
|||
name='task', |
|||
options={'ordering': ('-id',), 'permissions': (('can_viewall', '\u0414\u043e\u0441\u0442\u0443\u043f \u043a\u043e \u0432\u0441\u0435\u043c \u0437\u0430\u0434\u0430\u0447\u0430\u043c'),)}, |
|||
), |
|||
migrations.AddField( |
|||
model_name='changelog', |
|||
name='task', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='taskapp.Task'), |
|||
), |
|||
migrations.AddField( |
|||
model_name='changelog', |
|||
name='who', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='+', to=settings.AUTH_USER_MODEL), |
|||
), |
|||
] |
|||
@ -0,0 +1,30 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-12-16 19:14 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.conf import settings |
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
|||
('taskapp', '0008_auto_20161213_1932'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.RemoveField( |
|||
model_name='task', |
|||
name='device', |
|||
), |
|||
migrations.RemoveField( |
|||
model_name='task', |
|||
name='recipient', |
|||
), |
|||
migrations.AddField( |
|||
model_name='task', |
|||
name='recipients', |
|||
field=models.ManyToManyField(related_name='them_task', to=settings.AUTH_USER_MODEL), |
|||
) |
|||
] |
|||
@ -0,0 +1,19 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-12-18 16:03 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('taskapp', '0009_auto_20161216_2214'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterModelOptions( |
|||
name='task', |
|||
options={'ordering': ('-id',), 'permissions': (('can_viewall', '\u0414\u043e\u0441\u0442\u0443\u043f \u043a\u043e \u0432\u0441\u0435\u043c \u0437\u0430\u0434\u0430\u0447\u0430\u043c'), ('can_remind', '\u041d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u043e \u0437\u0430\u0434\u0430\u0447\u0430\u0445'))}, |
|||
) |
|||
] |
|||
@ -0,0 +1,20 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9 on 2016-12-19 14:08 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('taskapp', '0010_auto_20161218_1903'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='changelog', |
|||
name='act_type', |
|||
field=models.CharField(choices=[(b'e', '\u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438'), (b'c', '\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438'), (b'd', '\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438'), (b'f', '\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438'), (b'b', '\u0417\u0430\u0434\u0430\u0447\u0430 \u043d\u0430\u0447\u0430\u0442\u0430')], max_length=1), |
|||
), |
|||
] |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue