Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 16 lines (13 sloc) 0.555 kB
#!/usr/bin/env python
import os
import sys
if __name__ == '__main__':
if not os.path.exists('mysite/manage.py'):
# Try one more thing -- chdir() into the path of this file
# and try to find mysite/manage.py. Note that chdir()ing is
# a somewhat intense strategy here.
os.chdir(os.path.dirname(os.path.abspath(__file__)))
if not os.path.exists('mysite/manage.py'):
print "Eek, where is the real manage.py? Quitting."
sys.exit(1)
execfile('mysite/manage.py', globals(), locals())
Jump to Line
Something went wrong with that request. Please try again.