aa
This commit is contained in:
1 parent
da2be2694d
commit
ff4b3e6e3c
169 files changed
+6
-1336
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,34 +0,0 @@
|
||||
# Generated by Django 4.2.3 on 2023-10-09 06:34
|
||||
|
||||
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),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
||||
migrations.CreateModel(
|
||||
name='GeneralVacation',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('planned_date', models.DateField(verbose_name='Запланированная дата')),
|
||||
('count_days', models.IntegerField(blank=True, default=0, verbose_name='Кол-во дней')),
|
||||
('type_of_vacation', models.CharField(choices=[('os', 'Осн'), ('nd', 'Доп н/д'), ('vl', 'Доп в/л')], max_length=300, verbose_name='Тип отпуска')),
|
||||
('start_work_period', models.DateField(verbose_name='Начало рабочего периода')),
|
||||
('end_work_period', models.DateField(verbose_name='Конец рабочего периода')),
|
||||
('user', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL, verbose_name='Сотрудник')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'График отпусков',
|
||||
'verbose_name_plural': 'График отпусков',
|
||||
},
|
||||
),
|
||||
]
|
||||
@@ -1,16 +0,0 @@
|
||||
# Generated by Django 4.2.3 on 2023-10-09 06:44
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('general_vacation', '0001_initial'),
|
||||
]
|
||||
|
||||
# operations = [
|
||||
# migrations.DeleteModel(
|
||||
# name='PlanCalendar',
|
||||
# ),
|
||||
# ]
|
||||
@@ -1,26 +0,0 @@
|
||||
# Generated by Django 4.2.3 on 2023-10-09 06:45
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('general_vacation', '0002_delete_plancalendar'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='PlanCalendar',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(blank=True, db_index=True, max_length=500, verbose_name='Название')),
|
||||
('start_work_period', models.DateField(verbose_name='Начало рабочего периода')),
|
||||
('end_work_period', models.DateField(verbose_name='Конец рабочего периода')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'План-график',
|
||||
'verbose_name_plural': 'План-график',
|
||||
},
|
||||
),
|
||||
]
|
||||
@@ -1,18 +0,0 @@
|
||||
# Generated by Django 4.2.3 on 2023-10-10 06:04
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('general_vacation', '0003_plancalendar'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='plancalendar',
|
||||
name='start_work_period',
|
||||
field=models.DateField(auto_now_add=True, verbose_name='Начало рабочего периода'),
|
||||
),
|
||||
]
|
||||
@@ -1,18 +0,0 @@
|
||||
# Generated by Django 4.2.3 on 2023-10-10 06:42
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('general_vacation', '0004_alter_plancalendar_start_work_period'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='plancalendar',
|
||||
name='start_work_period',
|
||||
field=models.DateField(verbose_name='Начало рабочего периода'),
|
||||
),
|
||||
]
|
||||
@@ -1,40 +0,0 @@
|
||||
# Generated by Django 4.2.3 on 2023-10-13 06:18
|
||||
|
||||
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),
|
||||
('general_vacation', '0005_alter_plancalendar_start_work_period'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='BasePosition',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(blank=True, db_index=True, max_length=150, verbose_name='Название')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Справочник - Позиция',
|
||||
'verbose_name_plural': 'Справочник - Позиция',
|
||||
},
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='DailyRoundUp',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('todaysDate', models.DateField(verbose_name='Начало рабочего периода')),
|
||||
('position', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='general_vacation.baseposition', verbose_name='Позиция')),
|
||||
('user', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL, verbose_name='Сотрудник')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Ежедневный обход',
|
||||
'verbose_name_plural': 'Ежедневный обход',
|
||||
},
|
||||
),
|
||||
]
|
||||
@@ -1,18 +0,0 @@
|
||||
# Generated by Django 4.2.3 on 2023-10-23 09:32
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('general_vacation', '0006_baseposition_dailyroundup'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='dailyroundup',
|
||||
name='user',
|
||||
field=models.CharField(max_length=100),
|
||||
),
|
||||
]
|
||||
-24
@@ -1,24 +0,0 @@
|
||||
# Generated by Django 4.2.3 on 2023-10-24 05:52
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('general_vacation', '0007_alter_dailyroundup_user'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='dailyroundup',
|
||||
name='position',
|
||||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='get_position', to='general_vacation.baseposition', verbose_name='Позиция'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='dailyroundup',
|
||||
name='user',
|
||||
field=models.CharField(max_length=100, verbose_name='Логин'),
|
||||
),
|
||||
]
|
||||
Whitespace-only changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user