1. Kai Diefenbach
  2. django-lfc
Issue #25 resolved

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

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:

{{{

!python

Exception Type: TemplateSyntaxError Exception Value:

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

Comments (5)

  1. Log in to comment