##// END OF EJS Templates
Don't store threads list of a tag, cause this data can be got from thread's tags relations
Don't store threads list of a tag, cause this data can be got from thread's tags relations

File last commit:

r890:dec155c1 default
r909:ffe54c08 default
Show More
not_found.py
18 lines | 415 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)
# TODO Use dict here
response = render(request, 'boards/404.html', context_instance=context)
response.status_code = 404
return response