navigation templatetag fails if there is no standard page set for Portal

Issue #25 resolved
Maciej Wiśniowski
created an issue

If one wants to use {% navigation %} tag outside manage/, eg. in templates/lfc/base.html instead of {% tabs %} and Portal 's 'start page' is not set, exception is raised:



Exception Type: TemplateSyntaxError Exception Value:

Caught AttributeError while rendering: 'Portal' object has no attribute 'get_ancestors' }}}

Comments (5)

  1. Log in to comment