##// END OF EJS Templates
Run js highlight on the new posts only, not on all page each time. Add...
Run js highlight on the new posts only, not on all page each time. Add highlight to the reflink popups

File last commit:

r561:2045aa89 1.7-dev
r709:e6788412 default
Show More
not_found.py
13 lines | 304 B | text/x-python | PythonLexer
neko259
Moved 404 page to class-based views
r555 from django.shortcuts import render
from boards.views.base import BaseBoardView
neko259
Minor style fixes to view classes. Fixed ban view
r561
neko259
Moved 404 page to class-based views
r555 class NotFoundView(BaseBoardView):
neko259
Minor style fixes to view classes. Fixed ban view
r561 """
neko259
Moved 404 page to class-based views
r555 Page 404 (not found)
neko259
Minor style fixes to view classes. Fixed ban view
r561 """
neko259
Moved 404 page to class-based views
r555
def get(self, request):
context = self.get_context_data(request=request)
return render(request, 'boards/404.html', context)