##// END OF EJS Templates
Localized a minor sticker message. Refactored sticker factory
Localized a minor sticker message. Refactored sticker factory

File last commit:

r1920:e515a34e default
r1942:412bb996 default
Show More
all_tags.py
19 lines | 465 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'
# TODO This view is deprecated and should be removed in the future cause the tag
# list is quite large and slow
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)