##// END OF EJS Templates
Do not cache the thread view because it cannot load new replies after browser is restarted.
Do not cache the thread view because it cannot load new replies after browser is restarted.

File last commit:

r690:a8dffe47 1.8-dev
r858:2bce3a47 default
Show More
all_tags.py
13 lines | 361 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()
return render(request, 'boards/tags.html', context)