Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
use dev settings by default with manage.py
Browse files Browse the repository at this point in the history
  • Loading branch information
monty5811 committed Jul 27, 2016
1 parent eec22a3 commit 56629b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manage.py
Expand Up @@ -8,6 +8,7 @@
loaddotenv()

if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings.dev")
from django.core.management import execute_from_command_line

execute_from_command_line(sys.argv)

0 comments on commit 56629b8

Please sign in to comment.