{% comment %}In the spirit of D.R.Y.{% endcomment %} {% for n in all_notebooks %} {# This grossness goes away with django 1.2's smarter if tags #} {% if n.is_public %}