Files @ 1fa2a78cbec9
Branch filter:

Location: website/www/conservancy/manage.py

bkuhn
Merge commit 'refs/merge-requests/3' of git://gitorious.org/conservancy/website into merge-requests/denver

I originally had those settings that Denver's changed because of a
tutorial I read about handling a sidebar suggested them. I've accepted
Denver's change, but am concerned that some browsers may not work.
#!/usr/bin/env python

import sys
sys.path += ('/var/www',)

from django.core.management import execute_manager
try:
    from conservancy import settings
except ImportError:
    sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
    sys.exit(1)

if __name__ == "__main__":
    execute_manager(settings)