views.py 272 Bytes
from django.shortcuts import render

def dash(request):
    return render(request, 'dash.html')

def error_400(request, exception):
    return render(request, 'base.html', status=400)

def error_404(request, exception):
    return render(request, 'base.html', status=404)