src/manage.py
author ymh <ymh.work@gmail.com>
Tue, 30 Jul 2013 16:21:04 +0200
changeset 81 e78e5a2017b6
parent 0 4095911a7830
permissions -rw-r--r--
Add a way to show trees in the result list for terms. This mode is activated only if a thesaurus is selected, if the "node" sort field is selected and no other field than a thesaurus node is selected.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
4095911a7830 Jocondelab first commit before design
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
#!/usr/bin/env python
4095911a7830 Jocondelab first commit before design
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
import os
4095911a7830 Jocondelab first commit before design
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
import sys
4095911a7830 Jocondelab first commit before design
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
4095911a7830 Jocondelab first commit before design
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
if __name__ == "__main__":
4095911a7830 Jocondelab first commit before design
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "jocondelab.settings")
4095911a7830 Jocondelab first commit before design
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
4095911a7830 Jocondelab first commit before design
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
    from django.core.management import execute_from_command_line
4095911a7830 Jocondelab first commit before design
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
4095911a7830 Jocondelab first commit before design
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
    execute_from_command_line(sys.argv)