Permalink
Cannot retrieve contributors at this time
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?
neonion/manage.py
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
18 lines (12 sloc)
498 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |