1👍
Don’t try and pass this data in the slug. In this case use the query string, which will be appended automatically by the browser for a GET.
<form action="{% url 'student:filter' %}" method='get'>
<select name="filter">
...
def filter(request):
value = request.GET['value']
url(r'^filter/$', views.filter, name = 'filter'),
Source:stackexchange.com