cookiecutter-django/{{cookiecutter.repo_name}}/manage.py

11 lines
255 B
Python
Raw Normal View History

#!/usr/bin/env python
import os
import sys
2016-04-13 00:23:00 +03:00
if __name__ == '__main__':
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.local')
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)