Django Quick Tip #2 - Add Active Link Class in Django Templates

preview_player
Показать описание
Add active css class to your links based on the current page.
Рекомендации по теме
Комментарии
Автор

Thank you so much, I've searched all over the place and finally resolved it thanks to you!

akprodromou
Автор

Very precise and on point. This video saved my project!

naedeezy
Автор

Thanks bro.
Finally i get, this way is good

ahmednurabdi
Автор

thank you so much, you're the best
i am following you from Egypt

Salah-hhjq
Автор

hi,
thanks for your very nice tutorial.
but what if:
1. there are multilevel menu?
2. the menu has category and sub-category from the db?
how to that?
can you show please?

LiaAdzumi