parent
6abf82a60f
commit
f3278b4605
85 changed files with 106 additions and 2508 deletions
@ -1,19 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-08 12:55 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('chat', '0001_initial'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterModelOptions( |
|
||||||
name='message', |
|
||||||
options={'verbose_name': 'Сообщение', 'verbose_name_plural': 'Сообщения'}, |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,39 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-29 16:14 |
|
||||||
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), |
|
||||||
('chat', '0002_auto_20160608_1555'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='message', |
|
||||||
name='user', |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='message', |
|
||||||
name='recipent', |
|
||||||
field=models.ForeignKey(default=5, on_delete=django.db.models.deletion.CASCADE, related_name='recipent_messages', to=settings.AUTH_USER_MODEL), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='message', |
|
||||||
name='sender', |
|
||||||
field=models.ForeignKey(default=4, on_delete=django.db.models.deletion.CASCADE, related_name='sender_messages', to=settings.AUTH_USER_MODEL), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='message', |
|
||||||
name='order', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='order_messages', to='projects.Order'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,26 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-30 09:04 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('chat', '0003_auto_20160629_1914'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='message', |
|
||||||
name='private_type', |
|
||||||
field=models.BooleanField(default=False), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='message', |
|
||||||
name='order', |
|
||||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='order_messages', to='projects.Order'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,26 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-07-04 11:44 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('chat', '0004_auto_20160630_1204'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.CreateModel( |
|
||||||
name='Notes', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('text', models.TextField()), |
|
||||||
], |
|
||||||
options={ |
|
||||||
'verbose_name_plural': 'Сообщения', |
|
||||||
'verbose_name': 'Сообщение', |
|
||||||
}, |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,46 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-07-04 15:11 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.conf import settings |
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
import django.utils.timezone |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0037_auto_20160704_1444'), |
|
||||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
|
||||||
('chat', '0005_notes'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterModelOptions( |
|
||||||
name='notes', |
|
||||||
options={'verbose_name': 'Заметка', 'verbose_name_plural': 'Заметки'}, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='notes', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(default=django.utils.timezone.now), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='notes', |
|
||||||
name='order', |
|
||||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='order_notes', to='projects.Order'), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='notes', |
|
||||||
name='recipent', |
|
||||||
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, related_name='recipent_notes', to=settings.AUTH_USER_MODEL), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='notes', |
|
||||||
name='sender', |
|
||||||
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, related_name='sender_notes', to=settings.AUTH_USER_MODEL), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,31 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-15 13:25 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('common', '0001_initial'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='city', |
|
||||||
name='country', |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='location', |
|
||||||
name='type', |
|
||||||
field=models.CharField(choices=[('_root', 'Корень'), ('country', 'Страна'), ('region', 'Регион'), ('town', 'Город')], default=None, max_length=20), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
migrations.DeleteModel( |
|
||||||
name='City', |
|
||||||
), |
|
||||||
migrations.DeleteModel( |
|
||||||
name='Country', |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,27 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-07-05 07:25 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('common', '0002_auto_20160615_1625'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.CreateModel( |
|
||||||
name='MainPage', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('contractor_text', models.TextField()), |
|
||||||
('customer_text', models.TextField()), |
|
||||||
('video_code', models.TextField()), |
|
||||||
], |
|
||||||
options={ |
|
||||||
'verbose_name': 'Главная страница', |
|
||||||
}, |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,25 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.7 on 2016-07-13 09:17 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('common', '0003_mainpage'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.CreateModel( |
|
||||||
name='Settings', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('time_notification', models.IntegerField(default=180)), |
|
||||||
], |
|
||||||
options={ |
|
||||||
'verbose_name': 'Настройки сайта', |
|
||||||
}, |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,35 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-19 10:22 |
|
||||||
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): |
|
||||||
|
|
||||||
initial = True |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
|
||||||
('projects', '0001_initial'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='portfolio', |
|
||||||
name='user', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='answer', |
|
||||||
name='project', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='answers', to='projects.Project'), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='answer', |
|
||||||
name='user', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='answers', to=settings.AUTH_USER_MODEL), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,30 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-19 13:12 |
|
||||||
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 = [ |
|
||||||
('specializations', '0001_initial'), |
|
||||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
|
||||||
('projects', '0002_auto_20160519_1022'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='specialization', |
|
||||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='projects', to='specializations.Specialization'), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='user', |
|
||||||
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, related_name='projects', to=settings.AUTH_USER_MODEL), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,21 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-19 13:38 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0003_auto_20160519_1312'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='project', |
|
||||||
name='specialization', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='projects', to='specializations.Specialization'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,39 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-24 10:53 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
import datetime |
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0004_auto_20160519_1338'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterModelOptions( |
|
||||||
name='portfolio', |
|
||||||
options={'verbose_name': 'Портфолио', 'verbose_name_plural': 'Портфолио'}, |
|
||||||
), |
|
||||||
migrations.AlterModelOptions( |
|
||||||
name='portfoliophoto', |
|
||||||
options={'verbose_name': 'Фото портфолио', 'verbose_name_plural': 'Фото портфолио'}, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='answer', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(default=datetime.datetime(2016, 5, 24, 10, 53, 28, 347882)), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='answer', |
|
||||||
name='cost_type', |
|
||||||
field=models.CharField(choices=[('rur', 'rur'), ('usd', 'usd'), ('eur', 'eur')], default='RUR', max_length=5), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='answer', |
|
||||||
name='term_type', |
|
||||||
field=models.CharField(choices=[('hour', 'hour'), ('day', 'day'), ('month', 'month')], default='HOUR', max_length=10), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,80 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-24 12:08 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
import datetime |
|
||||||
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), |
|
||||||
('projects', '0005_auto_20160524_1053'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.CreateModel( |
|
||||||
name='Candidate', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('status', models.BooleanField(default=False)), |
|
||||||
], |
|
||||||
options={ |
|
||||||
'verbose_name': 'Кандидат', |
|
||||||
'verbose_name_plural': 'Кандидаты', |
|
||||||
}, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='budget', |
|
||||||
field=models.CharField(blank=True, max_length=20), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='cro', |
|
||||||
field=models.BooleanField(default=False), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='secure_transaction', |
|
||||||
field=models.BooleanField(default=False), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='term_cost', |
|
||||||
field=models.BooleanField(default=False), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='type_work', |
|
||||||
field=models.CharField(choices=[('1', 'проектирование'), ('2', 'техническое сопровождение')], default='1', max_length=20), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='answer', |
|
||||||
name='cost_type', |
|
||||||
field=models.CharField(choices=[('rur', 'rur'), ('usd', 'usd'), ('eur', 'eur')], default='rur', max_length=5), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='answer', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(default=datetime.datetime(2016, 5, 24, 12, 8, 51, 751897)), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='answer', |
|
||||||
name='term_type', |
|
||||||
field=models.CharField(choices=[('hour', 'hour'), ('day', 'day'), ('month', 'month')], default='hour', max_length=10), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='candidate', |
|
||||||
name='project', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='candidates', to='projects.Project'), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='candidate', |
|
||||||
name='user', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='candidates', to=settings.AUTH_USER_MODEL), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,21 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-25 09:48 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
import datetime |
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0006_auto_20160524_1208'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='answer', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(default=datetime.datetime(2016, 5, 25, 9, 48, 35, 275911)), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,41 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-25 10:44 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
import datetime |
|
||||||
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), |
|
||||||
('projects', '0007_auto_20160525_0948'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.CreateModel( |
|
||||||
name='Realty', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('name', models.CharField(max_length=255)), |
|
||||||
('building_classification', models.CharField(max_length=50)), |
|
||||||
('type_construction', models.CharField(max_length=50)), |
|
||||||
('country', models.CharField(max_length=50)), |
|
||||||
('city', models.CharField(max_length=50)), |
|
||||||
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='realty', to=settings.AUTH_USER_MODEL)), |
|
||||||
], |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='answer', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(default=datetime.datetime(2016, 5, 25, 10, 44, 29, 360210)), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='realty', |
|
||||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='projects', to='projects.Realty'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,41 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-25 15:24 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
import datetime |
|
||||||
from django.conf import settings |
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
import django.utils.timezone |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
|
||||||
('projects', '0008_auto_20160525_1044'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.CreateModel( |
|
||||||
name='Order', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('cost', models.DecimalField(decimal_places=2, max_digits=10)), |
|
||||||
('term', models.IntegerField(default=1)), |
|
||||||
('created', models.DateTimeField(default=django.utils.timezone.now, editable=False)), |
|
||||||
('status', models.BooleanField(default=False)), |
|
||||||
('contractor', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), |
|
||||||
('project', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='order', to='projects.Project')), |
|
||||||
], |
|
||||||
), |
|
||||||
migrations.AlterModelOptions( |
|
||||||
name='realty', |
|
||||||
options={'verbose_name': 'Объект', 'verbose_name_plural': 'Объекты'}, |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='answer', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(default=datetime.datetime(2016, 5, 25, 15, 24, 2, 462642)), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,22 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-25 15:25 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
import datetime |
|
||||||
from django.db import migrations, models |
|
||||||
from django.utils.timezone import utc |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0009_auto_20160525_1524'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='answer', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(default=datetime.datetime(2016, 5, 25, 15, 25, 42, 489763, tzinfo=utc)), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,21 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-25 15:26 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.utils.timezone |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0010_auto_20160525_1525'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='answer', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(default=django.utils.timezone.now), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,32 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-30 13:55 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.conf import settings |
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
import django.utils.timezone |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0011_auto_20160525_1526'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterModelOptions( |
|
||||||
name='order', |
|
||||||
options={'verbose_name': 'Заказ', 'verbose_name_plural': 'Заказы'}, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(default=django.utils.timezone.now), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='portfolio', |
|
||||||
name='user', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='portfolio', to=settings.AUTH_USER_MODEL), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,20 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-02 12:03 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0012_auto_20160530_1355'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='answer', |
|
||||||
name='term', |
|
||||||
field=models.IntegerField(default=0), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,29 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-02 15:59 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0013_auto_20160602_1203'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterModelOptions( |
|
||||||
name='answer', |
|
||||||
options={'ordering': ('-created',), 'verbose_name': 'Ответ к проекту', 'verbose_name_plural': 'Ответы к проектам'}, |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='order', |
|
||||||
name='cost', |
|
||||||
field=models.DecimalField(decimal_places=0, max_digits=10), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='project', |
|
||||||
name='price', |
|
||||||
field=models.DecimalField(decimal_places=0, max_digits=10), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,20 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-02 16:06 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0014_auto_20160602_1559'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='answer', |
|
||||||
name='cost', |
|
||||||
field=models.DecimalField(decimal_places=0, max_digits=10), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,26 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-03 11:40 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0015_auto_20160602_1606'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='candidate', |
|
||||||
name='user', |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='candidate', |
|
||||||
name='answer', |
|
||||||
field=models.ForeignKey(default='', on_delete=django.db.models.deletion.CASCADE, related_name='candidates', to='projects.Answer'), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,50 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-06 13:59 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0016_auto_20160603_1140'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.CreateModel( |
|
||||||
name='Stage', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('name', models.CharField(max_length=255)), |
|
||||||
('result', models.CharField(max_length=255)), |
|
||||||
('cost', models.DecimalField(decimal_places=0, max_digits=10)), |
|
||||||
('cost_type', models.CharField(choices=[('rur', 'rur'), ('usd', 'usd'), ('eur', 'eur')], default='rur', max_length=5)), |
|
||||||
('term', models.IntegerField(default=0)), |
|
||||||
('term_type', models.CharField(choices=[('hour', 'hour'), ('day', 'day'), ('month', 'month')], default='hour', max_length=10)), |
|
||||||
], |
|
||||||
options={ |
|
||||||
'verbose_name_plural': 'Этапы', |
|
||||||
'verbose_name': 'Этап', |
|
||||||
}, |
|
||||||
), |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='order', |
|
||||||
name='cost', |
|
||||||
), |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='order', |
|
||||||
name='term', |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='order', |
|
||||||
name='secure', |
|
||||||
field=models.BooleanField(default=False), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='stage', |
|
||||||
name='order', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='stages', to='projects.Order'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,22 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-07 16:15 |
|
||||||
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 = [ |
|
||||||
('projects', '0017_auto_20160606_1659'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='order', |
|
||||||
name='contractor', |
|
||||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,22 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-07 16:16 |
|
||||||
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 = [ |
|
||||||
('projects', '0018_auto_20160607_1915'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='order', |
|
||||||
name='contractor', |
|
||||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,96 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-08 12:55 |
|
||||||
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 = [ |
|
||||||
('projects', '0019_auto_20160607_1916'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.CreateModel( |
|
||||||
name='BuildingClassfication', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('name', models.CharField(max_length=255)), |
|
||||||
], |
|
||||||
options={ |
|
||||||
'verbose_name': 'Тип здания', |
|
||||||
'verbose_name_plural': 'Типы здания', |
|
||||||
}, |
|
||||||
), |
|
||||||
migrations.CreateModel( |
|
||||||
name='City', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('name', models.CharField(max_length=255)), |
|
||||||
], |
|
||||||
options={ |
|
||||||
'verbose_name': 'Город', |
|
||||||
'verbose_name_plural': 'Города', |
|
||||||
}, |
|
||||||
), |
|
||||||
migrations.CreateModel( |
|
||||||
name='ConstructionType', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('name', models.CharField(max_length=255)), |
|
||||||
], |
|
||||||
options={ |
|
||||||
'verbose_name': 'Вид строительства', |
|
||||||
'verbose_name_plural': 'Виды строительства', |
|
||||||
}, |
|
||||||
), |
|
||||||
migrations.CreateModel( |
|
||||||
name='Country', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('name', models.CharField(max_length=255)), |
|
||||||
], |
|
||||||
options={ |
|
||||||
'verbose_name': 'Страна', |
|
||||||
'verbose_name_plural': 'Страны', |
|
||||||
}, |
|
||||||
), |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='realty', |
|
||||||
name='type_construction', |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='answer', |
|
||||||
name='cost_type', |
|
||||||
field=models.CharField(choices=[('rur', ''), ('usd', 'usd'), ('eur', 'eur')], default='rur', max_length=5), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='realty', |
|
||||||
name='building_classification', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='realties', to='projects.BuildingClassfication'), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='realty', |
|
||||||
name='user', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='realties', to=settings.AUTH_USER_MODEL), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='stage', |
|
||||||
name='cost_type', |
|
||||||
field=models.CharField(choices=[('rur', ''), ('usd', 'usd'), ('eur', 'eur')], default='rur', max_length=5), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='city', |
|
||||||
name='country', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='cities', to='projects.Country'), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='realty', |
|
||||||
name='construction_type', |
|
||||||
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, related_name='realties', to='projects.ConstructionType'), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,31 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-08 13:02 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0020_auto_20160608_1555'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='realty', |
|
||||||
name='building_classification', |
|
||||||
), |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='realty', |
|
||||||
name='city', |
|
||||||
), |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='realty', |
|
||||||
name='construction_type', |
|
||||||
), |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='realty', |
|
||||||
name='country', |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,27 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-08 13:05 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0021_auto_20160608_1602'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='realty', |
|
||||||
name='building_classification', |
|
||||||
field=models.CharField(default=None, max_length=255), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='realty', |
|
||||||
name='construction_type', |
|
||||||
field=models.CharField(default=None, max_length=255), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,38 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-08 13:09 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0022_auto_20160608_1605'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='realty', |
|
||||||
name='city', |
|
||||||
field=models.CharField(default=None, max_length=50), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='realty', |
|
||||||
name='country', |
|
||||||
field=models.CharField(default=None, max_length=50), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='realty', |
|
||||||
name='building_classification', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='realties', to='projects.BuildingClassfication'), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='realty', |
|
||||||
name='construction_type', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='realties', to='projects.ConstructionType'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,105 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-09 15:08 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0023_auto_20160608_1609'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.CreateModel( |
|
||||||
name='ProjectFile', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('file', models.FileField(upload_to='projects/project_files')), |
|
||||||
], |
|
||||||
), |
|
||||||
migrations.RenameField( |
|
||||||
model_name='project', |
|
||||||
old_name='user', |
|
||||||
new_name='customer', |
|
||||||
), |
|
||||||
migrations.RenameField( |
|
||||||
model_name='project', |
|
||||||
old_name='secure_transaction', |
|
||||||
new_name='secure_deal', |
|
||||||
), |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='project', |
|
||||||
name='price', |
|
||||||
), |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='project', |
|
||||||
name='term_cost', |
|
||||||
), |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='project', |
|
||||||
name='type_work', |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='budget_by_agreement', |
|
||||||
field=models.BooleanField(default=False), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='currency', |
|
||||||
field=models.CharField(choices=[('rur', 'RUR'), ('usd', 'USD'), ('eur', 'EUR')], default='rur', max_length=20), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='price_and_term_required', |
|
||||||
field=models.BooleanField(default=False), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='term', |
|
||||||
field=models.IntegerField(default=0), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='term_type', |
|
||||||
field=models.CharField(choices=[('project', 'За проект'), ('hour', 'За час'), ('day', 'За день'), ('month', 'За месяц')], default='hour', max_length=20), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='work_type', |
|
||||||
field=models.IntegerField(choices=[('1', 'Проектирование'), ('2', 'Техническое сопровождение')], default=1), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='answer', |
|
||||||
name='cost_type', |
|
||||||
field=models.CharField(choices=[('rur', 'RUR'), ('usd', 'USD'), ('eur', 'EUR')], default='rur', max_length=5), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='answer', |
|
||||||
name='term_type', |
|
||||||
field=models.CharField(choices=[('project', 'За проект'), ('hour', 'За час'), ('day', 'За день'), ('month', 'За месяц')], default='hour', max_length=10), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='project', |
|
||||||
name='budget', |
|
||||||
field=models.DecimalField(decimal_places=0, max_digits=10), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='stage', |
|
||||||
name='cost_type', |
|
||||||
field=models.CharField(choices=[('rur', 'RUR'), ('usd', 'USD'), ('eur', 'EUR')], default='rur', max_length=5), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='stage', |
|
||||||
name='term_type', |
|
||||||
field=models.CharField(choices=[('project', 'За проект'), ('hour', 'За час'), ('day', 'За день'), ('month', 'За месяц')], default='hour', max_length=10), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='projectfile', |
|
||||||
name='project', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='projects.Project'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,21 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-09 16:16 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0024_auto_20160609_1808'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='projectfile', |
|
||||||
name='project', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='files', to='projects.Project'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,28 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-10 09:04 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0025_auto_20160609_1916'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterModelOptions( |
|
||||||
name='projectfile', |
|
||||||
options={'verbose_name': 'Файл проекта', 'verbose_name_plural': 'Файлы проектов'}, |
|
||||||
), |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='project', |
|
||||||
name='secure_deal', |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='deal_type', |
|
||||||
field=models.CharField(choices=[('secure_deal', 'Безопасная сделка (с резервированием бюджета) '), ('direct_payment', 'Прямая оплата Исполнителю на его кошелек/счет')], default='secure_deal', max_length=20), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,26 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-10 09:31 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0026_auto_20160610_1204'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='realty', |
|
||||||
name='city', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='realties', to='projects.City'), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='realty', |
|
||||||
name='country', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='realties', to='projects.Country'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,20 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-10 10:01 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0027_auto_20160610_1231'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='project', |
|
||||||
name='work_type', |
|
||||||
field=models.CharField(choices=[('1', 'Проектирование'), ('2', 'Техническое сопровождение')], default='1', max_length=20), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,20 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-10 11:16 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0028_auto_20160610_1301'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='active', |
|
||||||
field=models.BooleanField(default=True), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,30 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-10 11:30 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0029_project_active'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.RenameField( |
|
||||||
model_name='answer', |
|
||||||
old_name='cost', |
|
||||||
new_name='budget', |
|
||||||
), |
|
||||||
migrations.RenameField( |
|
||||||
model_name='answer', |
|
||||||
old_name='user', |
|
||||||
new_name='contractor', |
|
||||||
), |
|
||||||
migrations.RenameField( |
|
||||||
model_name='answer', |
|
||||||
old_name='cost_type', |
|
||||||
new_name='currency', |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,24 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-10 11:34 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0030_auto_20160610_1430'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='project', |
|
||||||
name='active', |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='project', |
|
||||||
name='state', |
|
||||||
field=models.CharField(choices=[('active', 'Активный'), ('trash', 'В корзине'), ('delete', 'Удален')], default='active', max_length=20), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,52 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-15 13:10 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
import django.utils.timezone |
|
||||||
import mptt.fields |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('common', '0001_initial'), |
|
||||||
('projects', '0031_auto_20160610_1434'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='city', |
|
||||||
name='country', |
|
||||||
), |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='realty', |
|
||||||
name='city', |
|
||||||
), |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='realty', |
|
||||||
name='country', |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='realty', |
|
||||||
name='location', |
|
||||||
field=mptt.fields.TreeForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='realties', to='common.Location'), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='order', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(default=django.utils.timezone.now), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='project', |
|
||||||
name='state', |
|
||||||
field=models.CharField(choices=[('active', 'Активный'), ('trashed', 'В корзине'), ('deleted', 'Удален')], default='active', max_length=20), |
|
||||||
), |
|
||||||
migrations.DeleteModel( |
|
||||||
name='City', |
|
||||||
), |
|
||||||
migrations.DeleteModel( |
|
||||||
name='Country', |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,21 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-21 07:57 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0032_auto_20160615_1610'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='project', |
|
||||||
name='realty', |
|
||||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='projects', to='projects.Realty'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,20 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-22 09:00 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0033_auto_20160621_1057'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='project', |
|
||||||
name='work_type', |
|
||||||
field=models.IntegerField(choices=[('1', 'Проектирование'), ('2', 'Техническое сопровождение')], default=1, max_length=20), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,30 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-30 13:35 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0034_auto_20160622_1200'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterModelOptions( |
|
||||||
name='buildingclassfication', |
|
||||||
options={'verbose_name': 'Тип здания', 'verbose_name_plural': 'Типы зданий'}, |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='project', |
|
||||||
name='work_type', |
|
||||||
field=models.IntegerField(choices=[(1, 'Проектирование'), (2, 'Техническое сопровождение')], default=1), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='projectfile', |
|
||||||
name='project', |
|
||||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='files', to='projects.Project'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,22 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-30 15:46 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations |
|
||||||
import django.db.models.deletion |
|
||||||
import mptt.fields |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0035_auto_20160630_1635'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='project', |
|
||||||
name='specialization', |
|
||||||
field=mptt.fields.TreeForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='projects', to='specializations.Specialization'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,22 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-07-04 11:44 |
|
||||||
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 = [ |
|
||||||
('projects', '0036_auto_20160630_1846'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='order', |
|
||||||
name='contractor', |
|
||||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='orders', to=settings.AUTH_USER_MODEL), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,73 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-07-06 09:49 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.conf import settings |
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
import mptt.fields |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('common', '0003_mainpage'), |
|
||||||
('specializations', '0002_auto_20160602_1203'), |
|
||||||
('projects', '0037_auto_20160704_1444'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='portfolio', |
|
||||||
name='budget', |
|
||||||
field=models.DecimalField(decimal_places=0, default=0, max_digits=10, null=True), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='portfolio', |
|
||||||
name='budget_by_agreement', |
|
||||||
field=models.BooleanField(default=False), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='portfolio', |
|
||||||
name='building_classification', |
|
||||||
field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='portfolios', to='projects.BuildingClassfication'), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='portfolio', |
|
||||||
name='construction_type', |
|
||||||
field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='portfolios', to='projects.ConstructionType'), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='portfolio', |
|
||||||
name='location', |
|
||||||
field=mptt.fields.TreeForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='portfolios', to='common.Location'), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='portfolio', |
|
||||||
name='specialization', |
|
||||||
field=mptt.fields.TreeForeignKey(default=5, on_delete=django.db.models.deletion.CASCADE, related_name='portfolios', to='specializations.Specialization'), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='portfolio', |
|
||||||
name='term', |
|
||||||
field=models.IntegerField(default=0), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='portfolio', |
|
||||||
name='term_type', |
|
||||||
field=models.CharField(choices=[('project', 'За проект'), ('hour', 'За час'), ('day', 'За день'), ('month', 'За месяц')], default='hour', max_length=20), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='portfolio', |
|
||||||
name='worksell', |
|
||||||
field=models.BooleanField(default=False), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='portfolio', |
|
||||||
name='user', |
|
||||||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='portfolios', to=settings.AUTH_USER_MODEL), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,56 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-07-07 14:24 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
import mptt.fields |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0038_auto_20160706_1249'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='portfolio', |
|
||||||
name='budget_by_agreement', |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='portfolio', |
|
||||||
name='currency', |
|
||||||
field=models.CharField(blank=True, choices=[('rur', 'RUR'), ('usd', 'USD'), ('eur', 'EUR')], default='rur', max_length=20, null=True), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='portfolio', |
|
||||||
name='budget', |
|
||||||
field=models.DecimalField(blank=True, decimal_places=0, default=0, max_digits=10, null=True), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='portfolio', |
|
||||||
name='building_classification', |
|
||||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='portfolios', to='projects.BuildingClassfication'), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='portfolio', |
|
||||||
name='construction_type', |
|
||||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='portfolios', to='projects.ConstructionType'), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='portfolio', |
|
||||||
name='specialization', |
|
||||||
field=mptt.fields.TreeForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='portfolios', to='specializations.Specialization'), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='portfolio', |
|
||||||
name='term', |
|
||||||
field=models.IntegerField(blank=True, default=0, null=True), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='portfolio', |
|
||||||
name='term_type', |
|
||||||
field=models.CharField(blank=True, choices=[('project', 'За проект'), ('hour', 'За час'), ('day', 'За день'), ('month', 'За месяц')], default='hour', max_length=20, null=True), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,27 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-31 09:06 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0012_auto_20160530_1355'), |
|
||||||
('reviews', '0001_initial'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterModelOptions( |
|
||||||
name='review', |
|
||||||
options={'verbose_name': 'Отзыв', 'verbose_name_plural': 'Отзывы'}, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='review', |
|
||||||
name='project', |
|
||||||
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, related_name='reviews', to='projects.Project'), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,19 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-02 12:03 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('specializations', '0001_initial'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterModelOptions( |
|
||||||
name='specialization', |
|
||||||
options={'verbose_name': 'Специализация', 'verbose_name_plural': 'Специализации'}, |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,21 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-19 14:52 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('auth', '0007_alter_validators_add_error_messages'), |
|
||||||
('users', '0001_initial'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='team', |
|
||||||
name='groups', |
|
||||||
field=models.ManyToManyField(blank=True, related_name='teams', to='auth.Group'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,21 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-24 10:52 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
import datetime |
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0002_team_groups'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='created_at', |
|
||||||
field=models.DateTimeField(default=datetime.datetime(2016, 5, 24, 10, 52, 56, 737277)), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,25 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-24 10:53 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
import datetime |
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0003_user_created_at'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='team', |
|
||||||
name='groups', |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='user', |
|
||||||
name='created_at', |
|
||||||
field=models.DateTimeField(default=datetime.datetime(2016, 5, 24, 10, 53, 15, 497921)), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,25 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-24 10:54 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
import datetime |
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0004_auto_20160524_1053'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='user', |
|
||||||
name='created_at', |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(default=datetime.datetime(2016, 5, 24, 10, 54, 13, 805566)), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,21 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-25 09:48 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
import datetime |
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0005_auto_20160524_1054'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='user', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(default=datetime.datetime(2016, 5, 25, 9, 48, 35, 257077)), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,21 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-25 15:26 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
import datetime |
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0006_auto_20160525_0948'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='user', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(default=datetime.datetime(2016, 5, 25, 15, 26, 33, 142994)), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,21 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-05-25 15:27 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.utils.timezone |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0007_auto_20160525_1526'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='user', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(default=django.utils.timezone.now), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,27 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-02 12:13 |
|
||||||
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 = [ |
|
||||||
('users', '0008_auto_20160525_1527'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='nickname', |
|
||||||
field=models.CharField(blank=True, max_length=50, null=True), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='team', |
|
||||||
name='owner', |
|
||||||
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='team', to=settings.AUTH_USER_MODEL), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,21 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-03 12:15 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.utils.timezone |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0009_auto_20160602_1213'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='last_time_visit', |
|
||||||
field=models.DateTimeField(default=django.utils.timezone.now), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,21 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-08 15:01 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('specializations', '0002_auto_20160602_1203'), |
|
||||||
('users', '0010_user_last_time_visit'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='contractor_specializations', |
|
||||||
field=models.ManyToManyField(blank=True, related_name='contractors', to='specializations.Specialization'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,20 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-10 13:58 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0011_user_contractor_specializations'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='status', |
|
||||||
field=models.CharField(choices=[('free', 'Свободен'), ('busy', 'Занят')], default='free', max_length=20), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,20 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-10 14:03 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0012_user_status'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.RenameField( |
|
||||||
model_name='user', |
|
||||||
old_name='status', |
|
||||||
new_name='contractor_status', |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,28 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-15 13:11 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
import mptt.fields |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('common', '0001_initial'), |
|
||||||
('users', '0013_auto_20160610_1703'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='location', |
|
||||||
field=mptt.fields.TreeForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='users', to='common.Location'), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='patronym', |
|
||||||
field=models.CharField(blank=True, max_length=255), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,78 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-15 14:47 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
import datetime |
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
from django.utils.timezone import utc |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0014_auto_20160615_1611'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.CreateModel( |
|
||||||
name='ContractorFinancialInfo', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('fio', models.CharField(max_length=255)), |
|
||||||
('date_of_birth', models.DateTimeField()), |
|
||||||
('phone', models.CharField(max_length=30)), |
|
||||||
('residency', models.CharField(choices=[('russian_resident', 'Резидент РФ'), ('non_russian_resident', 'Нерезидент РФ'), ('refugee', 'Беженец'), ('russian_stay_permit', 'Вид на жительство')], max_length=50)), |
|
||||||
('legal_status', models.CharField(choices=[('individual', 'Физическое лицо'), ('legal_entity', 'ИП и Юридическое лицо')], max_length=30)), |
|
||||||
('passport_series', models.CharField(max_length=6)), |
|
||||||
('passport_number', models.CharField(max_length=10)), |
|
||||||
('subdivision_code', models.CharField(max_length=10)), |
|
||||||
('passport_issued_by', models.CharField(max_length=255)), |
|
||||||
('passport_issue_date', models.DateTimeField()), |
|
||||||
('inn', models.CharField(max_length=100)), |
|
||||||
('yandex_money', models.CharField(max_length=50)), |
|
||||||
('credit_card_number', models.CharField(max_length=50)), |
|
||||||
('passport_scan', models.ImageField(upload_to='users/contractors/')), |
|
||||||
], |
|
||||||
options={ |
|
||||||
'verbose_name': 'Финансовая информация', |
|
||||||
'verbose_name_plural': 'Финансовая информация', |
|
||||||
}, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='avatar', |
|
||||||
field=models.ImageField(blank=True, upload_to='users/avatars/'), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='cro', |
|
||||||
field=models.BooleanField(default=False), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='date_of_birth', |
|
||||||
field=models.DateTimeField(default=datetime.datetime(2016, 6, 15, 14, 47, 5, 758769, tzinfo=utc)), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='gender', |
|
||||||
field=models.CharField(blank=True, choices=[('male', 'Мужской'), ('female', 'Женский')], max_length=30), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='skype', |
|
||||||
field=models.CharField(blank=True, max_length=100), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='website', |
|
||||||
field=models.CharField(blank=True, max_length=255), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='contractor_financial_info', |
|
||||||
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='contractor', to='users.ContractorFinancialInfo'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,20 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-17 15:15 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0015_auto_20160615_1747'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='contractorfinancialinfo', |
|
||||||
name='legal_status', |
|
||||||
field=models.CharField(choices=[('individual', 'Физическое лицо'), ('legal_entity', 'ИП и юридическое лицо')], max_length=30), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,20 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-22 14:03 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0016_auto_20160617_1815'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='phone', |
|
||||||
field=models.CharField(blank=True, max_length=30, null=True), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,44 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-07-10 15:38 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
import datetime |
|
||||||
from django.db import migrations, models |
|
||||||
import django.utils.timezone |
|
||||||
from django.utils.timezone import utc |
|
||||||
import mptt.fields |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0017_user_phone'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='user', |
|
||||||
name='nickname', |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='data_joined', |
|
||||||
field=models.DateTimeField(default=django.utils.timezone.now), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='username', |
|
||||||
field=models.CharField(default=datetime.datetime(2016, 7, 10, 15, 38, 2, 660834, tzinfo=utc), max_length=50, unique=True), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='user', |
|
||||||
name='contractor_specializations', |
|
||||||
field=mptt.fields.TreeManyToManyField(blank=True, related_name='contractors', to='specializations.Specialization'), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='user', |
|
||||||
name='date_of_birth', |
|
||||||
field=models.DateTimeField(blank=True, null=True), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,20 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-07-10 16:50 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0018_auto_20160710_1838'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.RenameField( |
|
||||||
model_name='user', |
|
||||||
old_name='data_joined', |
|
||||||
new_name='date_joined', |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,47 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.7 on 2016-07-11 14:59 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0019_auto_20160710_1950'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.CreateModel( |
|
||||||
name='ContractorResume', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('text', models.TextField()), |
|
||||||
('resume_file', models.FileField(upload_to='users/resume/files/')), |
|
||||||
], |
|
||||||
options={ |
|
||||||
'verbose_name': 'Резюме', |
|
||||||
'verbose_name_plural': 'Резюме', |
|
||||||
}, |
|
||||||
), |
|
||||||
migrations.CreateModel( |
|
||||||
name='ContractorResumeFiles', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('img', models.ImageField(upload_to='users/resume/images/')), |
|
||||||
('title', models.CharField(max_length=255)), |
|
||||||
('description', models.TextField(blank=True)), |
|
||||||
('type', models.CharField(choices=[('diplom', 'Дипломы/Сертификаты'), ('cro', 'Допуск CPO')], max_length=50)), |
|
||||||
], |
|
||||||
options={ |
|
||||||
'verbose_name': 'Файлы резюме', |
|
||||||
'verbose_name_plural': 'Файлы резюме', |
|
||||||
}, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='user', |
|
||||||
name='contractor_resume', |
|
||||||
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='contractor', to='users.ContractorResume'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,22 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.7 on 2016-07-11 16:27 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('users', '0020_auto_20160711_1759'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='contractorresumefiles', |
|
||||||
name='resume', |
|
||||||
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, related_name='resume_files', to='users.ContractorResume'), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,20 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-07 14:55 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('work_sell', '0001_initial'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='worksell', |
|
||||||
name='img', |
|
||||||
field=models.ImageField(upload_to='worksell/worksell'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,28 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-21 09:59 |
|
||||||
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), |
|
||||||
('work_sell', '0002_auto_20160607_1755'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterModelOptions( |
|
||||||
name='worksell', |
|
||||||
options={'verbose_name': 'Готовая работа', 'verbose_name_plural': 'Готовые работы'}, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='worksell', |
|
||||||
name='contractor', |
|
||||||
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, related_name='work_sell', to=settings.AUTH_USER_MODEL), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,20 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-06-21 10:19 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('work_sell', '0003_auto_20160621_1259'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AddField( |
|
||||||
model_name='worksell', |
|
||||||
name='price', |
|
||||||
field=models.DecimalField(decimal_places=0, default=0, max_digits=10), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,21 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-07-04 11:49 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations |
|
||||||
import sorl.thumbnail.fields |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('work_sell', '0004_worksell_price'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='worksell', |
|
||||||
name='img', |
|
||||||
field=sorl.thumbnail.fields.ImageField(upload_to='worksell/worksell'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,29 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-07-04 15:54 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
import sorl.thumbnail.fields |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('work_sell', '0005_auto_20160704_1449'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.CreateModel( |
|
||||||
name='WorkSellPhoto', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('img', sorl.thumbnail.fields.ImageField(upload_to='worksell/worksell')), |
|
||||||
('worksell', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='photos', to='work_sell.WorkSell')), |
|
||||||
], |
|
||||||
options={ |
|
||||||
'verbose_name': 'Изображение Готовая работа', |
|
||||||
'verbose_name_plural': 'Изображения Готовые работы', |
|
||||||
}, |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,25 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-07-05 12:14 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.utils.timezone |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('work_sell', '0006_worksellphoto'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterModelOptions( |
|
||||||
name='worksell', |
|
||||||
options={'ordering': ['-created'], 'verbose_name': 'Готовая работа', 'verbose_name_plural': 'Готовые работы'}, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='worksell', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(default=django.utils.timezone.now), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,67 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-07-06 09:49 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
import mptt.fields |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('projects', '0038_auto_20160706_1249'), |
|
||||||
('common', '0003_mainpage'), |
|
||||||
('specializations', '0002_auto_20160602_1203'), |
|
||||||
('work_sell', '0007_auto_20160705_1514'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='worksell', |
|
||||||
name='price', |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='worksell', |
|
||||||
name='budget', |
|
||||||
field=models.DecimalField(decimal_places=0, default=0, max_digits=10, null=True), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='worksell', |
|
||||||
name='budget_by_agreement', |
|
||||||
field=models.BooleanField(default=False), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='worksell', |
|
||||||
name='building_classification', |
|
||||||
field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='worksells', to='projects.BuildingClassfication'), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='worksell', |
|
||||||
name='construction_type', |
|
||||||
field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, related_name='worksells', to='projects.ConstructionType'), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='worksell', |
|
||||||
name='location', |
|
||||||
field=mptt.fields.TreeForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='worksells', to='common.Location'), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='worksell', |
|
||||||
name='specialization', |
|
||||||
field=mptt.fields.TreeForeignKey(default=5, on_delete=django.db.models.deletion.CASCADE, related_name='worksells', to='specializations.Specialization'), |
|
||||||
preserve_default=False, |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='worksell', |
|
||||||
name='term', |
|
||||||
field=models.IntegerField(default=0), |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='worksell', |
|
||||||
name='term_type', |
|
||||||
field=models.CharField(choices=[('project', 'За проект'), ('hour', 'За час'), ('day', 'За день'), ('month', 'За месяц')], default='hour', max_length=20), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,56 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-07-07 10:15 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.db.models.deletion |
|
||||||
import mptt.fields |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('work_sell', '0008_auto_20160706_1249'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.RemoveField( |
|
||||||
model_name='worksell', |
|
||||||
name='budget_by_agreement', |
|
||||||
), |
|
||||||
migrations.AddField( |
|
||||||
model_name='worksell', |
|
||||||
name='currency', |
|
||||||
field=models.CharField(blank=True, choices=[('rur', 'RUR'), ('usd', 'USD'), ('eur', 'EUR')], default='rur', max_length=20, null=True), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='worksell', |
|
||||||
name='budget', |
|
||||||
field=models.DecimalField(blank=True, decimal_places=0, default=0, max_digits=10, null=True), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='worksell', |
|
||||||
name='building_classification', |
|
||||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='worksells', to='projects.BuildingClassfication'), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='worksell', |
|
||||||
name='construction_type', |
|
||||||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='worksells', to='projects.ConstructionType'), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='worksell', |
|
||||||
name='specialization', |
|
||||||
field=mptt.fields.TreeForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='worksells', to='specializations.Specialization'), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='worksell', |
|
||||||
name='term', |
|
||||||
field=models.IntegerField(blank=True, default=0, null=True), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='worksell', |
|
||||||
name='term_type', |
|
||||||
field=models.CharField(blank=True, choices=[('project', 'За проект'), ('hour', 'За час'), ('day', 'За день'), ('month', 'За месяц')], default='hour', max_length=20, null=True), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,27 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.6 on 2016-07-07 11:01 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
import django.utils.timezone |
|
||||||
import sorl.thumbnail.fields |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('work_sell', '0009_auto_20160707_1315'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.AlterField( |
|
||||||
model_name='worksell', |
|
||||||
name='created', |
|
||||||
field=models.DateTimeField(blank=True, default=django.utils.timezone.now, null=True), |
|
||||||
), |
|
||||||
migrations.AlterField( |
|
||||||
model_name='worksell', |
|
||||||
name='img', |
|
||||||
field=sorl.thumbnail.fields.ImageField(blank=True, null=True, upload_to='worksell/worksell'), |
|
||||||
), |
|
||||||
] |
|
||||||
@ -1,23 +0,0 @@ |
|||||||
# -*- coding: utf-8 -*- |
|
||||||
# Generated by Django 1.9.7 on 2016-07-11 08:33 |
|
||||||
from __future__ import unicode_literals |
|
||||||
|
|
||||||
from django.db import migrations, models |
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration): |
|
||||||
|
|
||||||
dependencies = [ |
|
||||||
('work_sell', '0010_auto_20160707_1401'), |
|
||||||
] |
|
||||||
|
|
||||||
operations = [ |
|
||||||
migrations.CreateModel( |
|
||||||
name='Picture', |
|
||||||
fields=[ |
|
||||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
|
||||||
('file', models.ImageField(upload_to='worksell/pictures')), |
|
||||||
('slug', models.SlugField(blank=True)), |
|
||||||
], |
|
||||||
), |
|
||||||
] |
|
||||||
Loading…
Reference in new issue