##// END OF EJS Templates
Don't run time conversion if Intl not available in browser. Also convert...
Don't run time conversion if Intl not available in browser. Also convert thread death time in archived threads

File last commit:

r918:06775760 default
r1023:0040ea34 default
Show More
all_tags.py
14 lines | 327 B | text/x-python | PythonLexer
neko259
Added missing all_tags module. Moved authors view to class-based
r551 from django.shortcuts import render
from boards.views.base import BaseBoardView
from boards.models.tag import Tag
neko259
Implemented search over posts. Moved get_user and get_theme to utils module. Use context processors instead of creating context in the base view. Removed unused imports in some modules
r690
neko259
Added missing all_tags module. Moved authors view to class-based
r551 class AllTagsView(BaseBoardView):
def get(self, request):
neko259
Fixed calls to render shortcut to use dict instead of context instance
r918 params = dict()
neko259
Added missing all_tags module. Moved authors view to class-based
r551
neko259
Fixed calls to render shortcut to use dict instead of context instance
r918 params['all_tags'] = Tag.objects.get_not_empty_tags()
return render(request, 'boards/tags.html', params)