I would suggest using django-navigation or a similar approach, that is
to bind breadcrumbs-related code to views instead of templates. Of
course you would still render the breadcrumbs in a template, but that
would be a single piece of code (I usually place it right in the
project's base.html) which
So far I have seem template inheritance based examples for
breadcrumbs in django. However for a project I am working on that does
not quite work because all templates inherit from base.
For eg.
templates/base.html
common/ a.html, b.html, c.html
myapp/ m.html, n,.html, q
2 matches
Mail list logo