Django: How does view get multiple values from url?

django, python

Solution

`It's request.GET.getlist('board')` - it's stated in the Django docs at https://docs.djangoproject.com/en/dev/ref/request-response/#django.http.QueryDict

Problem

It's about passing values from URL to view in django. URL like this: http:///boards/?board=picture&board=girls I want get both values "picture" and "girls" that all belongs to board. Store these values to a list or something. Obviously, request.GET.get('board') can't get two values. Does anybody get a workaround? Thank you in advance.

Original source

Related problems