summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f326681)
if request.user.is_authenticated():\r
pt = MarkedTag.objects.filter(user=request.user)\r
return {\r
if request.user.is_authenticated():\r
pt = MarkedTag.objects.filter(user=request.user)\r
return {\r
"interesting_tag_names": pt.filter(reason='good').values_list('tag__name', flat=True),\r
'ignored_tag_names': pt.filter(reason='bad').values_list('tag__name', flat=True),\r
'user_authenticated': True,\r
}\r
else:\r
"interesting_tag_names": pt.filter(reason='good').values_list('tag__name', flat=True),\r
'ignored_tag_names': pt.filter(reason='bad').values_list('tag__name', flat=True),\r
'user_authenticated': True,\r
}\r
else:\r
- return {'user_authenticated': False}\r
+ return { 'request' : request, 'user_authenticated': False}\r