view manage.py @ 161:e73a108189fe

Turn of warning about test runner behavior change. Change for Django 1.7 upgrade.
author Brian Neal <bgneal@gmail.com>
date Thu, 02 Apr 2015 18:57:16 -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)