##// 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
authors.py
13 lines | 304 B | text/x-python | PythonLexer
from django.shortcuts import render
from boards.authors import authors
from boards.views.base import BaseBoardView
class AuthorsView(BaseBoardView):
def get(self, request):
params = dict()
params['authors'] = authors
return render(request, 'boards/authors.html', params)