##// END OF EJS Templates
Implemented search over posts. Moved get_user and get_theme to utils module. Use context processors instead of creating context in the base view. Removed unused imports in some modules
Implemented search over posts. Moved get_user and get_theme to utils module. Use context processors instead of creating context in the base view. Removed unused imports in some modules

File last commit:

r561:2045aa89 1.7-dev
r690:a8dffe47 1.8-dev
Show More
not_found.py
13 lines | 304 B | text/x-python | PythonLexer
from django.shortcuts import render
from boards.views.base import BaseBoardView
class NotFoundView(BaseBoardView):
"""
Page 404 (not found)
"""
def get(self, request):
context = self.get_context_data(request=request)
return render(request, 'boards/404.html', context)