##// END OF EJS Templates
Refactored post image code. Added a method to create an image or get an...
Refactored post image code. Added a method to create an image or get an existing one by hash

File last commit:

r918:06775760 default
r1025:e4f09ee8 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)