git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixing a bug in BlogView's tag_view where it would provide a QuerySet as `tag` instea...
[philo.git]
/
templatetags
/
containers.py
diff --git
a/templatetags/containers.py
b/templatetags/containers.py
index
2e40e53
..
90debf6
100644
(file)
--- a/
templatetags/containers.py
+++ b/
templatetags/containers.py
@@
-31,8
+31,7
@@
class ContainerNode(template.Node):
if 'page' in context:
container_content = self.get_container_content(context)
- if self.nodelist_main is None:
- self.nodelist_main
+ if not self.nodelist_main:
if container_content and self.as_var:
context[self.as_var] = container_content
return ''