server/src/manage.py
author durandn
Wed, 17 Feb 2016 16:14:04 +0100
changeset 4 8bc8b208441d
parent 0 71a42c20fc86
permissions -rwxr-xr-x
corrected middleware to allow proper redirects

#!/usr/bin/env python
import os
import sys

if __name__ == "__main__":
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "metaeducation.settings.dev")

    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)