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.

#!/usr/bin/env python
import os
import sys

if __name__ == "__main__":
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "jocondelab.settings")

    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)