git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor improvements to navigationoverrides, including admin support and working naviga...
[philo.git]
/
templatetags
/
nodes.py
diff --git
a/templatetags/nodes.py
b/templatetags/nodes.py
index
8a98630
..
338ac2d
100644
(file)
--- a/
templatetags/nodes.py
+++ b/
templatetags/nodes.py
@@
-25,7
+25,7
@@
class NodeURLNode(template.Node):
if self.node:
node = self.node.resolve(context)
else:
- node = context
['node']
+ node = context
.get('node', None)
if not node:
return settings.TEMPLATE_STRING_IF_INVALID