Perform to move main developing to git

This commit is contained in:
2022-09-27 18:54:05 +03:00
parent d24c699ce6
commit 8bcc88680b
22 changed files with 511 additions and 5 deletions

View File

@@ -0,0 +1,35 @@
# Generated by Django 4.1.1 on 2022-09-26 18:12
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Order',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=200)),
('description', models.TextField(blank=True)),
('square', models.DecimalField(decimal_places=2, max_digits=5)),
('type_of_renovation', models.CharField(blank=True, choices=[('', 'Не указан'), ('overhaul', 'Капитальный'), ('partial', 'Частичный'), ('redecor', 'Косметический'), ('premium', 'Премиальный'), ('design', 'Дизайнерский')], default='', max_length=10)),
('type_of_house', models.CharField(blank=True, choices=[('block', 'Блочный'), ('brick', 'Кирпичный'), ('monolith', 'Монолит'), ('panel', 'Панельный')], max_length=10)),
('type_of_room', models.CharField(blank=True, choices=[('primary', 'Первичка'), ('secondary', 'Вторичка')], max_length=10)),
('is_require_design', models.BooleanField(blank=True, choices=[(None, ''), (True, 'Да'), (False, 'Нет')], default=None, null=True)),
('purchase_of_material', models.CharField(blank=True, choices=[('executor', 'Исполнитель'), ('customer', 'Заказчик')], max_length=10)),
('type_of_executor', models.CharField(blank=True, choices=[('primary', 'Первичка'), ('secondary', 'Вторичка')], max_length=10)),
('is_with_warranty', models.BooleanField(default=True, verbose_name='С гарантией')),
('is_with_contract', models.BooleanField(default=False, verbose_name='Работа по договору')),
('is_with_trade', models.BooleanField(default=False, verbose_name='Возможен торг')),
('is_with_cleaning', models.BooleanField(default=False, verbose_name='С уборкой')),
('is_with_garbage_removal', models.BooleanField(default=False, verbose_name='С вывозом мусора')),
('approximate_price', models.DecimalField(decimal_places=2, max_digits=9)),
],
),
]