##// END OF EJS Templates
404 page now returns the 404 status for real. Fixed some tests related to...
404 page now returns the 404 status for real. Fixed some tests related to this. Excluded ban view from the view tests because it returns 404 if the user is not banned

File last commit:

r872:752c0b44 default
r890:dec155c1 default
Show More
authors.py
14 lines | 385 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
# TODO Use dict here
return render(request, 'boards/authors.html', context_instance=context)