django-rest-framework : list parameters in URL
<p>I am pretty new to django and django-rest-framework, but I am trying to pass lists into url parameters to then filter my models by them.</p>

<p>Lets say the client application is sending a request that looks something like this... </p>

<pre><code>  url: "api.com/?something=string,string2,string3&amp;?subthings=sub,sub2,sub3&amp;?year=2014,2015,2016/"
</code></pre>

<p>I want to pass in those parameters "things", "subthings", and "years" with their values.</p>

<p>Where the url looks something like this?</p>

<p>NOTE: Trick is that it won't be always an array of length 3 for each parameter.</p>

<p>Can someone point me in the right direction for how my url regex should be handing the lists and also retrieving the query lists in my views.</p>

<p>Thanks!</p>