view manage.py @ 164:36b49a39526f

admin.autodiscover() is no longer needed. Django 1.7 upgrade.
author Brian Neal <bgneal@gmail.com>
date Thu, 02 Apr 2015 19:25:27 -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)