src/manage.py
author cavaliet
Thu, 27 Mar 2014 16:12:33 +0100
changeset 42 38df204b8f36
parent 2 bafbf72652b9
permissions -rwxr-xr-x
Merge with 381a03bcd1a75a82b19c864773b4b6c2cc9a6dc0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     1
#!/usr/bin/env python
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     2
import os
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     3
import sys
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     4
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     5
if __name__ == "__main__":
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     6
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "spel.settings")
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     7
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     8
    from django.core.management import execute_from_command_line
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     9
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
    10
    execute_from_command_line(sys.argv)