From 633f6ea703567bc3ace98fcc16ebfa5bff03601a Mon Sep 17 00:00:00 2001 From: Stefano Apostolico Date: Tue, 22 Oct 2024 17:58:17 +0200 Subject: [PATCH] updates --- .pre-commit-config.yaml | 2 +- manage.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 22cb253..cc8bf4e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: args: - src - tests - stages: [ pre-push ] + stages: [ push ] - id: check-forbidden args: diff --git a/manage.py b/manage.py index 588347c..c7d41ef 100755 --- a/manage.py +++ b/manage.py @@ -6,9 +6,7 @@ sys.path.insert(0, SRC) if __name__ == "__main__": - os.environ.setdefault( - "DJANGO_SETTINGS_MODULE", "country_workspace.config.settings" - ) + os.environ.setdefault("DJANGO_SETTINGS_MODULE", "country_workspace.config.settings") from django.core.management import execute_from_command_line