src/manage.py
author grandjoncl
Thu, 14 Feb 2013 14:42:20 +0100
changeset 6 f3ba7e0bed68
parent 1 5a91860c5535
permissions -rw-r--r--
simplification of code to create forms and objects that don't depend on the language entered in the settings.py page to create partners modification of event to be able to add organisators and partners
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)