##// END OF EJS Templates
Fixed calls to render shortcut to use dict instead of context instance
Fixed calls to render shortcut to use dict instead of context instance

File last commit:

r918:06775760 default
r918:06775760 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)