view manage.py @ 596:cc39f34ce12b

Update default settings module in manage.py.
author Brian Neal <bgneal@gmail.com>
date Mon, 11 Jun 2012 19:38:52 -0500
parents ee87ea74d46b
children
line wrap: on
line source
#!/usr/bin/env python
import os, sys

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

    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)