1👍
✅
Use this and check
url(r'^users/(?P<user_type>\w+)/$', views.users, name='users_type'),
url(r'^users/$', views.users, name='users')
Link is:
<a href="{% url 'users' %}">All Users</a>
<a href="{% url 'users_type' "customers" %}">Customers</a>
<a href="{% url 'users_type' "promoters" %}">Promoters</a>
Source:stackexchange.com