Tony Mack | 7130ac3 | 2013-03-22 21:58:00 -0400 | [diff] [blame] | 1 | #!/usr/bin/env python |
2 | import os | ||||
3 | import sys | ||||
4 | |||||
5 | if __name__ == "__main__": | ||||
Siobhan Tully | 30fd429 | 2013-05-10 08:59:56 -0400 | [diff] [blame] | 6 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "planetstack.settings") |
Tony Mack | 7130ac3 | 2013-03-22 21:58:00 -0400 | [diff] [blame] | 7 | |
8 | from django.core.management import execute_from_command_line | ||||
9 | |||||
10 | execute_from_command_line(sys.argv) |