fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
500 error page
[wolnelektury.git]
/
wolnelektury
/
views.py
1
# -*- coding: utf-8 -*-
2
3
from django import http
4
from django.template import RequestContext, loader
5
6
def server_error(request):
7
t = loader.get_template('500.html')
8
return http.HttpResponseServerError(t.render(RequestContext(request)))
9