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()