##// END OF EJS Templates
Run js highlight on the new posts only, not on all page each time. Add...
Run js highlight on the new posts only, not on all page each time. Add highlight to the reflink popups

File last commit:

r690:a8dffe47 1.8-dev
r709:e6788412 default
Show More
all_tags.py
13 lines | 361 B | text/x-python | PythonLexer
neko259
Added missing all_tags module. Moved authors view to class-based
r551 from django.shortcuts import render
from boards.views.base import BaseBoardView
from boards.models.tag import Tag
neko259
Implemented search over posts. Moved get_user and get_theme to utils module. Use context processors instead of creating context in the base view. Removed unused imports in some modules
r690
neko259
Added missing all_tags module. Moved authors view to class-based
r551 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)