From 735bdba9b3c16d1b127419852369d05521ddf3d0 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 28 Nov 2010 17:43:35 +0100 Subject: [PATCH] defaults --- pandora/user/models.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pandora/user/models.py b/pandora/user/models.py index 6c9ff5be..946694dd 100644 --- a/pandora/user/models.py +++ b/pandora/user/models.py @@ -43,23 +43,20 @@ def get_user_json(user): def get_ui(user): return { "columns": ["id", "title", "director", "country", "year", "language", "genre"], - "findQuery": {"conditions": [{"key": "", "value": "", "operator": ""}], "operator": ""}, + "findQuery": {"conditions": [], "operator": ""}, "groupsQuery": {"conditions": [], "operator": "|"}, "groupsSize": 128, "itemView": "info", "listQuery": {"conditions": [], "operator": ""}, "listsSize": 192, - "listView": "list", + "listView": "icons", "sections": ["history", "lists", "public", "featured"], - "showAnnotations": True, "showGroups": True, "showInfo": True, "showLists": True, "showMovies": True, - "sort": [ - {"key": "director", "operator": ""} - ], - "theme": "classic" + "sort": settings.DEFAULT_SORT, + "theme": settings.DEFAULT_THEME } def get_preferences(user):