cookiecutter-django/{{cookiecutter.repo_name}}/{{cookiecutter.project_name}}/manage.py
2013-12-17 16:44:20 +01:00

12 lines
341 B
Python

#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "{{cookiecutter.project_name}}.config.settings")
os.environ.setdefault("DJANGO_CONFIGURATION", "Local")
from configurations.management import execute_from_command_line
execute_from_command_line(sys.argv)