Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 18 lines (12 sloc) 498 Bytes
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
# set production environment
#os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings.production")
# set development environment
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings.development")
# set test environment
#os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings.test")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)