Closed jamhall closed 9 years ago
Hello,
In template I should have this:
{% load django_bootstrap_breadcrumbs %} {% block breadcrumbs %} {% clear_breadcrumbs %} {% breadcrumb 'My Collections' 'app_collections_index' %} {% breadcrumb collection "app_collections_view" id=collection.uiid %} {% breadcrumb "Edit" "app_collections_edit" id=collection.uiid %} {% endblock %}
The breadcrumb link for 'app_collections_view` outputs:
http://localhost:8000/collections/32c9fdd9-de41-4bb0-9ea6-7a30371df43e/app_collections_view
It should generate the proper url of:
http://localhost:8000/collections/32c9fdd9-de41-4bb0-9ea6-7a30371df43e
For some reason it is completely ignore the route name and kwargs...
Thanks in advance!
Please ignore. I made a mistake I should have passed collection.uuid and not collection.uiid.
collection.uuid
collection.uiid
It would be nice if it throws an exception if it hasn't matched the route.
Cheers,
Hello,
In template I should have this:
The breadcrumb link for 'app_collections_view` outputs:
http://localhost:8000/collections/32c9fdd9-de41-4bb0-9ea6-7a30371df43e/app_collections_view
It should generate the proper url of:
http://localhost:8000/collections/32c9fdd9-de41-4bb0-9ea6-7a30371df43e
For some reason it is completely ignore the route name and kwargs...
Thanks in advance!