##// END OF EJS Templates
Fixes to tags management after the last changes
Fixes to tags management after the last changes

File last commit:

r872:752c0b44 default
r911:b27da779 default
Show More
all_tags.py
14 lines | 407 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):
context = self.get_context_data(request=request)
context['all_tags'] = Tag.objects.get_not_empty_tags()
# TODO Use dict here
return render(request, 'boards/tags.html', context_instance=context)