git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added embeddable_content_types registry to track what content types are embeddable...
[philo.git]
/
views.py
diff --git
a/views.py
b/views.py
index
ab4c216
..
b3e2a74
100644
(file)
--- a/
views.py
+++ b/
views.py
@@
-27,7
+27,7
@@
def node_view(request, path=None, **kwargs):
return node.render_to_response(request, path=path, subpath=subpath)
except Http404, e:
if settings.DEBUG:
return node.render_to_response(request, path=path, subpath=subpath)
except Http404, e:
if settings.DEBUG:
- raise
e
+ raise
try:
Http404View = node.relationships['Http404']
try:
Http404View = node.relationships['Http404']
@@
-42,7
+42,7
@@
def node_view(request, path=None, **kwargs):
return Http404View.render_to_response(node, request, path, subpath, extra_context)
except Exception, e:
if settings.DEBUG:
return Http404View.render_to_response(node, request, path, subpath, extra_context)
except Exception, e:
if settings.DEBUG:
- raise
e
+ raise
try:
Http500View = node.relationships['Http500']
try:
Http500View = node.relationships['Http500']