Skip to content

Commit

Permalink
Allow ./manage.py without args (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatron authored Dec 24, 2024
1 parent 20dab41 commit f3456b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

IN_TEST = sys.argv[1] == "test"
IN_TEST = len(sys.argv) > 1 and sys.argv[1] == "test"

ALLOWED_HOSTS = ["*"]

Expand Down

0 comments on commit f3456b3

Please sign in to comment.