Files @ d8c8db2e5b94
Branch filter:

Location: website/www/manage.py

eximious
re-add Adam's photo
#!/usr/bin/env python

import os
import sys

if __name__ == "__main__":
    www_path = os.path.abspath(os.path.dirname(sys.argv[0]))
    if www_path not in sys.path:
        sys.path.append(www_path)

    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "conservancy.settings")

    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)