##// END OF EJS Templates
Put thread id parameter into POST body instead of GET param when getting a...
Put thread id parameter into POST body instead of GET param when getting a thread diff

File last commit:

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