##// END OF EJS Templates
Make status an error if the user is banned in api_add_post
Make status an error if the user is banned in api_add_post

File last commit:

r561:2045aa89 1.7-dev
r638:e9babb2a default
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)