src/manage.py
author ymh <ymh.work@gmail.com>
Tue, 26 Mar 2013 11:18:27 +0100
changeset 12 c105a6d6bcbf
parent 1 5a91860c5535
permissions -rw-r--r--
Merge with f3ba7e0bed68afc4e4b2c9c4e4dc74e5ac2652a1
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)