##// END OF EJS Templates
Show thread OPs in the landing page instead of link and title list
Show thread OPs in the landing page instead of link and title list

File last commit:

r1741:58ced8b0 default
r1793:9acfb664 default
Show More
all_tags.py
17 lines | 353 B | text/x-python | PythonLexer
from django.shortcuts import render
from boards.views.base import BaseBoardView
from boards.models.tag import Tag
PARAM_TAGS = 'all_tags'
class AllTagsView(BaseBoardView):
def get(self, request):
params = dict()
params[PARAM_TAGS] = Tag.objects.get_not_empty_tags()
return render(request, 'boards/tags.html', params)