diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 57f8266d..20b57024 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,4 +41,4 @@ repos: language: system pass_filenames: false entry: poetry export --without-hashes --output requirements/production.txt - files: ^(pyproject.toml|poetry.lock)$ \ No newline at end of file + files: ^(pyproject.toml|poetry.lock)$ diff --git a/adaptive_hockey_federation/core/config/dev_settings.py b/adaptive_hockey_federation/core/config/dev_settings.py index 4eed9e29..ad56215c 100644 --- a/adaptive_hockey_federation/core/config/dev_settings.py +++ b/adaptive_hockey_federation/core/config/dev_settings.py @@ -3,7 +3,7 @@ # import environ -BASE_DIR = Path(__file__).resolve().parent.parent +BASE_DIR = Path(__file__).resolve().parent.parent.parent # env = environ.Env(DEBUG=(bool, False)) diff --git a/adaptive_hockey_federation/main/migrations/0003_alter_player_patronymic.py b/adaptive_hockey_federation/main/migrations/0003_alter_player_patronymic.py new file mode 100644 index 00000000..aacc2004 --- /dev/null +++ b/adaptive_hockey_federation/main/migrations/0003_alter_player_patronymic.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.8 on 2023-12-16 13:59 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0002_alter_player_patronymic'), + ] + + operations = [ + migrations.AlterField( + model_name='player', + name='patronymic', + field=models.CharField(blank=True, default='--пусто--', help_text='Отчество', max_length=256, verbose_name='Отчество'), + ), + ] diff --git a/entrypoint.sh b/entrypoint.sh index 95c2b12b..4c61f440 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,4 +4,4 @@ sleep 5 app/.venv/bin/python manage.py collectstatic --noinput mv /static/* /app/static/ -exec "$@" \ No newline at end of file +exec "$@"