Skip to content

Commit

Permalink
Update manage.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MrThearMan authored Nov 6, 2023
1 parent c544802 commit d8aa1ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit d8aa1ee

Please sign in to comment.