diff options
| author | root <root@lalalizard.com> | 2012-12-12 13:36:29 -0500 |
|---|---|---|
| committer | root <root@lalalizard.com> | 2012-12-12 13:36:29 -0500 |
| commit | 6e1a9c9dfd83caca61cb0fa12f381900166c10d1 (patch) | |
| tree | f9310fc022739de104b6f77429f9c322d870fd17 /frontend/views.py | |
| parent | 3e0af3308fe3fcb6039a1e16f7497f1c3b6b688c (diff) | |
fix profile.js to load settings in new format
Diffstat (limited to 'frontend/views.py')
| -rw-r--r-- | frontend/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
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', |
