##// END OF EJS Templates
Fixed creating new thread from a tag with non-default page
Fixed creating new thread from a tag with non-default page

File last commit:

r918:06775760 default
r1292:6583773e default
Show More
authors.py
13 lines | 304 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.authors import authors
from boards.views.base import BaseBoardView
neko259
Minor style fixes to view classes. Fixed ban view
r561
neko259
Added missing all_tags module. Moved authors view to class-based
r551 class AuthorsView(BaseBoardView):
def get(self, request):
neko259
Fixed calls to render shortcut to use dict instead of context instance
r918 params = dict()
params['authors'] = authors
neko259
Added missing all_tags module. Moved authors view to class-based
r551
neko259
Fixed calls to render shortcut to use dict instead of context instance
r918 return render(request, 'boards/authors.html', params)