git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed login redirects
[philo.git]
/
templatetags
/
containers.py
diff --git
a/templatetags/containers.py
b/templatetags/containers.py
index
92e126e
..
90af297
100644
(file)
--- a/
templatetags/containers.py
+++ b/
templatetags/containers.py
@@
-18,6
+18,8
@@
class ContainerNode(template.Node):
content = settings.TEMPLATE_STRING_IF_INVALID
if 'page' in context:
container_content = self.get_container_content(context)
+ else:
+ container_content = None
if self.as_var:
context[self.as_var] = container_content