-
Notifications
You must be signed in to change notification settings - Fork 43
Issues with crumb not appearing #57
Comments
It's been a while since I wrote any django code but I'm sure we can crack it together. |
Hey! Thanks for the quick reply! I tried it in different places with same result. So confused. |
🤔 |
Thanks. I'll keep pluggin' away. |
I think I got it! I took all the breadcrumb.html code and replaced the include inside base.html with it and it worked. So I guess there is an issue with includes? |
I have a question while I have you. In paths where I have an ID ie. 159, would it be possible to replace that with the actual company name it represents and use it in the breadcrumb? So... From path |
I think that if you only got |
If you are using Django models than you can define str() and pass model instance as |
Ok, cool. thanks again. |
Hey again. Having a small issue I can't figure out. I get this far But when I select a user to view detail on, I lose the company name Goes like this... Dashboard: (base.html) Account List: (index.html) Martin's Cafe: (detail.html) User List: (userlist.html) Big Boss: (userdetail.html) |
Is the |
hmmm...not likely. it would have company and profile but not user |
Doesn't this mean that |
Finally figured it out. Did a select_related for the account. |
Full disclosure, I am a django/python newbie.
this is what I have
templates/base/base.html
templates/base/breadcrumb.html
The initial "Dashboard" works.
templates/accounts/index.html
All I end up with is
Dashboard
. I have tried different configurations. There are no errors.Django 2.1.2 Python 3.7
The text was updated successfully, but these errors were encountered: