From 6e1a9c9dfd83caca61cb0fa12f381900166c10d1 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 12 Dec 2012 13:36:29 -0500 Subject: fix profile.js to load settings in new format --- frontend/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/views.py') diff --git a/frontend/views.py b/frontend/views.py index a391c0a..73b8d30 100644 --- a/frontend/views.py +++ b/frontend/views.py @@ -150,7 +150,7 @@ def profile(request, username): topz = SJContent.objects.filter(user__id=userprofile.user.id, content_type='video').annotate(likes=Count('sjlike')).order_by('-likes')[:50] likez = SJContent.objects.filter(user__id=userprofile.user.id, content_type='video', sjlike__isnull = False ).order_by('-datetime')[:50] vidz = SJContent.objects.filter(user__id=userprofile.user.id, content_type='video').order_by('-datetime')[:50] - profile = [ userprofile.id, userprofile.nickname, userprofile.score, 3, 4, 5, userprofile.bio, 7 ] + profile = [ userprofile.id, userprofile.nickname, userprofile.score, 3, 4, 5, userprofile.bio, json.loads(userprofile.settings_text) ] response = render_to_response( 'profile.html', -- cgit v1.2.3-70-g09d2