From d8aa1ee1fd93d91725af34abe56f4a1234b85b91 Mon Sep 17 00:00:00 2001 From: Matti Lamppu Date: Mon, 6 Nov 2023 22:03:30 +0200 Subject: [PATCH] Update manage.py --- manage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manage.py b/manage.py index 3271f63..9d3e9a6 100644 --- a/manage.py +++ b/manage.py @@ -10,7 +10,9 @@ def main() -> None: try: from django.core.management import execute_from_command_line except ImportError as exc: - msg = "Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?" + msg = ( + "Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?" + ) raise ImportError(msg) from exc execute_from_command_line(sys.argv)