##// END OF EJS Templates
Throw error 404 when trying to open invalid page in threads list
Throw error 404 when trying to open invalid page in threads list

File last commit:

r918:06775760 default
r977:6b112efe default
Show More
all_tags.py
14 lines | 327 B | text/x-python | PythonLexer
from django.shortcuts import render
from boards.views.base import BaseBoardView
from boards.models.tag import Tag
class AllTagsView(BaseBoardView):
def get(self, request):
params = dict()
params['all_tags'] = Tag.objects.get_not_empty_tags()
return render(request, 'boards/tags.html', params)