web/manage.py
author grandjoncl
Wed, 28 Nov 2012 12:27:08 +0100
changeset 995 94f9d36371f6
parent 660 d9f2a953bea5
permissions -rw-r--r--
new template tag absstatic to have absolute url for static file and avoid using LDT_MEDIA_PREFIX new absurl template tag can be used instead of template tag url to have absolute url replacement of all LDT_MEDIA_PREFIX in different templates and views
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
660
d9f2a953bea5 move manage.py
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
#!/usr/bin/env python
d9f2a953bea5 move manage.py
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
import os
d9f2a953bea5 move manage.py
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
import sys
d9f2a953bea5 move manage.py
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
d9f2a953bea5 move manage.py
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
if __name__ == "__main__":
d9f2a953bea5 move manage.py
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ldtplatform.settings")
d9f2a953bea5 move manage.py
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
d9f2a953bea5 move manage.py
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
    from django.core.management import execute_from_command_line
d9f2a953bea5 move manage.py
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
d9f2a953bea5 move manage.py
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
    execute_from_command_line(sys.argv)