projects
/
sommitrealweird.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix 404 renderer
[sommitrealweird.git]
/
sommitrealweird
/
generic
/
views.py
1
from settings import MEDIA_URL
2
from django.http import HttpResponseNotFound
3
from django.template import RequestContext, loader
4
5
6
def render_404(request, template_name='404.html'):
7
c = {}
8
return render(request, '404.html', c, status=404)