Bootstrap active class not working with django -


i tried use active class django, user knows page on it's not working. tried tried using this

<div class="text-center" style="margin-bottom: 20px"> <ul class="pagination"> {% in paginator.page_range %}  <li {% if page_obj.number == %} class="active" {% endif %}><a href="?tags={{i}}">{{i}}</a><li> {% endfor %} </ul> 

but it's not working. proper syntax make work?

i have looked @ few posts on here , tried

class="{% if page_obj.number == %} active {% endif %}" 

but thishasn't worked either in advance


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -