From 96131d06148e3c23baa4d6dea8c62a6accc998de Mon Sep 17 00:00:00 2001 From: Suresh Manga Date: Fri, 29 Nov 2024 16:05:25 +0000 Subject: [PATCH] Applied make fix and disabled debug flag to false --- .env.example | 2 +- src/manage.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 042b47b93..a754e4d65 100644 --- a/.env.example +++ b/.env.example @@ -2,7 +2,7 @@ APP_ENV=local # Django DJANGO_DEBUG=true -ENABLE_DEBUGPY=true +ENABLE_DEBUGPY=false DJANGO_SECRET_KEY=this_is_an_example_use_a_proper_key_in_production # Wagtail diff --git a/src/manage.py b/src/manage.py index e8e52b393..3c30a66a0 100755 --- a/src/manage.py +++ b/src/manage.py @@ -7,7 +7,9 @@ def initialize_debugpy(): try: import debugpy except ImportError: - sys.stdout.write("debugpy is not installed, please install it with: pip install debugpy\n") + sys.stdout.write( + "debugpy is not installed, please install it with: pip install debugpy\n" + ) return if not os.getenv("RUN_MAIN"): @@ -37,4 +39,4 @@ def main(): if __name__ == "__main__": - main() \ No newline at end of file + main()