view manage.py @ 166:491f0acbaeaf

Update WSGI script for Django 1.7 upgrade.
author Brian Neal <bgneal@gmail.com>
date Thu, 02 Apr 2015 20:25:48 -0500
parents 0eca2da07913
children
line wrap: on
line source
#!/usr/bin/env python
import os
import sys

if __name__ == "__main__":
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "madeira.settings.local")

    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)