view manage.py @ 162:27b38cc65ca4

Set defaults for BooleanFields. THis suppresses a warning in Django 1.7 since the default changed in Django 1.6.
author Brian Neal <bgneal@gmail.com>
date Thu, 02 Apr 2015 19:03:46 -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)