1👍
✅
You need to pass in the url name for the urlpattern that matches /course/learn-angular/contents/
and then pass in the query params for the lecture id ?lecture=1
<a href="{% url 'name_for_route' %}?lecture={{v.serial_number}}">
Source:stackexchange.com