Created
February 2, 2016 21:29
-
-
Save blackrosezy/05e4778dc8d9c1f47784 to your computer and use it in GitHub Desktop.
manage.py
This file contains hidden or 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__": | |
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mydjango.settings") | |
from django.core.management import execute_from_command_line | |
sys.argv.append('runserver') | |
sys.argv.append('localhost:9004') | |
try: | |
execute_from_command_line( | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment