src/manage.py
author cavaliet
Tue, 17 Jun 2014 10:25:33 +0200
changeset 271 8f77cf71ab02
child 359 46ad324f6fe4
permissions -rw-r--r--
commit the venv update (django and dependancies) in the good head
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
271
8f77cf71ab02 commit the venv update (django and dependancies) in the good head
cavaliet
parents:
diff changeset
     1
#!/usr/bin/env python
8f77cf71ab02 commit the venv update (django and dependancies) in the good head
cavaliet
parents:
diff changeset
     2
import os
8f77cf71ab02 commit the venv update (django and dependancies) in the good head
cavaliet
parents:
diff changeset
     3
import sys
8f77cf71ab02 commit the venv update (django and dependancies) in the good head
cavaliet
parents:
diff changeset
     4
8f77cf71ab02 commit the venv update (django and dependancies) in the good head
cavaliet
parents:
diff changeset
     5
if __name__ == "__main__":
8f77cf71ab02 commit the venv update (django and dependancies) in the good head
cavaliet
parents:
diff changeset
     6
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "hdabo.settings")
8f77cf71ab02 commit the venv update (django and dependancies) in the good head
cavaliet
parents:
diff changeset
     7
8f77cf71ab02 commit the venv update (django and dependancies) in the good head
cavaliet
parents:
diff changeset
     8
    from django.core.management import execute_from_command_line
8f77cf71ab02 commit the venv update (django and dependancies) in the good head
cavaliet
parents:
diff changeset
     9
8f77cf71ab02 commit the venv update (django and dependancies) in the good head
cavaliet
parents:
diff changeset
    10
    execute_from_command_line(sys.argv)