view manage.py @ 74:49f704e58400

Update fabfile for Django 1.4 changes.
author Brian Neal <bgneal@gmail.com>
date Sat, 14 Jul 2012 13:55:25 -0500
parents e2868ad47a1e
children 0eca2da07913
line wrap: on
line source
#!/usr/bin/env python
import os
import sys

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

    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)