Hi there

I need some advice how to implement breadcrumbs in a base.html.

I have already installed django-bootstrap-breadcrumbs, registered it in the 
apps and so on. So far I would say, it's working,

Just for testing purposes it looks like this:
 <nav aria-label="breadcrumb" class="nav navbar-nav navbar-left">        
 {% load django_bootstrap_breadcrumbs %}
 {% block breadcrumbs %}
 {% clear_breadcrumbs %}
 {% breadcrumb "Home" "/" %}
 {% breadcrumb "Users and groups" "dummy" %}
 {% breadcrumb "tbd" "mockupview.index" %}
 {% endblock %}
 {% render_breadcrumbs %}
 </nav>


However, I would like to generate the breadcrumbs based on which view is 
extending the base.html file. And I do not know how to achieve that.

Do you have any advice for me?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2b3823c6-f8bc-4ff0-8ed1-0943e9ced832%40googlegroups.com.

Reply via email to