diff --git a/editor/settings.py b/editor/settings.py index a235f82..ea68b7b 100644 --- a/editor/settings.py +++ b/editor/settings.py @@ -7,3 +7,5 @@ STATIC_URL = getattr(settings, 'STATIC_URL', settings.MEDIA_URL) if STATIC_URL == None: STATIC_URL = settings.MEDIA_URL MEDIA_PATH = getattr(settings, 'EDITOR_MEDIA_PATH', '%seditor/' % STATIC_URL) + +TREE_INITIAL_STATE = getattr(settings, 'EDITOR_TREE_INITIAL_STATE', 'collapsed') \ No newline at end of file diff --git a/editor/templates/admin/editor/tree_editor.html b/editor/templates/admin/editor/tree_editor.html index 5712bda..b821f05 100644 --- a/editor/templates/admin/editor/tree_editor.html +++ b/editor/templates/admin/editor/tree_editor.html @@ -5,8 +5,7 @@