def forbidden(request): """Shows a forbidden page.""" return Response(render_template('core/forbidden.html'), status=401, mimetype='text/html')
def bad_request(request): """Shows a "bad request" page.""" return Response(render_template('core/bad_request.html'), status=400, mimetype='text/html')
def about(request): """Just shows a simple about page that explains the system.""" return render_template('core/about.html')
def not_found(request): """Shows a not found page.""" return Response(render_template('core/not_found.html'), status=404, mimetype='text/html')
def home(request): """Shows the home page.""" return render_template('core/home.html')