src/manage.py
author grandjoncl
Fri, 08 Feb 2013 18:00:04 +0100
changeset 1 5a91860c5535
permissions -rw-r--r--
first commit of polemictweet
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     1
#!/usr/bin/env python
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     2
import os
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     3
import sys
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     4
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     5
if __name__ == "__main__":
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     6
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "polemictweet.settings")
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     7
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     8
    from django.core.management import execute_from_command_line
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
     9
5a91860c5535 first commit of polemictweet
grandjoncl
parents:
diff changeset
    10
    execute_from_command_line(sys.argv)