How to Render Menu with One Active Item with Django (limitations of include and power of context)

Поделиться
HTML-код
  • Опубликовано: 10 фев 2025
  • #django #templatetags #include
    In this lesson we will focus on a very common problem in web development - a menu with one active item. We will explore two solutions - one with django block inheritance and one using (available in the context) request object.

Комментарии • 3