view manage.py @ 89:b7cdfdde3999

For Django 1.5: replace django's simplejson with json.
author Brian Neal <bgneal@gmail.com>
date Tue, 27 Aug 2013 19:53:31 -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)