Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (7 sloc) 306 Bytes
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
from django.core.management import execute_from_command_line
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "{{ project_name }}.settings.{}".format(sys.argv[1]))
execute_from_command_line([sys.argv[0]] + sys.argv[2:])