title: How do i show an active link in a django navigation bar dropdown list?
body: <p>I have a navbar menu with a list of links which i want to show the active link when the user is on the page, so far i have managed to do this with links that dont have dropdowns like this.</p>
  
  <p><a href="https://i.stack.imgur.com/KLNI3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KLNI3.png" alt="enter image description here"></a></p>
  
  <p>But I cannot seem to get it right with the dropdown links in such a way that if the user is on a page on the dropdown link the parent link on the navbar gets highlighted.like shown below</p>
  
  <p><a href="https://i.stack.imgur.com/qIixd.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qIixd.png" alt="enter image description here"></a></p>
  
  <p>Any help would be greatly appreciated.</p>