##// END OF EJS Templates
Optimized imports and added some docstrings to the post module
Optimized imports and added some docstrings to the post module

File last commit:

r561:2045aa89 1.7-dev
r622:d08e30ea default
Show More
authors.py
13 lines | 339 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):
context = self.get_context_data(request=request)
context['authors'] = authors
return render(request, 'boards/authors.html', context)