<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: eddieishere</title>
    <description>The latest articles on DEV Community by eddieishere (@eddieishere).</description>
    <link>https://dev.to/eddieishere</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F378156%2F6451d6f5-414b-4dda-bb9b-4d4db784725b.jpeg</url>
      <title>DEV Community: eddieishere</title>
      <link>https://dev.to/eddieishere</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eddieishere"/>
    <language>en</language>
    <item>
      <title>Change query string to allow for multiple values</title>
      <dc:creator>eddieishere</dc:creator>
      <pubDate>Sun, 03 May 2020 17:03:49 +0000</pubDate>
      <link>https://dev.to/eddieishere/change-query-string-to-allow-for-multiple-values-3l61</link>
      <guid>https://dev.to/eddieishere/change-query-string-to-allow-for-multiple-values-3l61</guid>
      <description>&lt;p&gt;Can anyone help with my Stack question? Having a problem with my Django search. I'm using a multi select (Select2) on the front-end and when multiple values are selected it's only the last value that's searched. e.g ?Query=value1&amp;amp;Query=Value2.&lt;/p&gt;

&lt;p&gt;The desired result would be Query=value1+Query=Value2 or&lt;br&gt;
 ?Query=value1+Value2. &lt;/p&gt;

&lt;p&gt;Any help appreciated!&lt;/p&gt;


&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;h1&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--d6fSuj3N--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackoverflow-logo-e7205b186f9c84b1d4e8eb405ef6008a5774db316bd7d257421920b0f954810f.svg" alt=""&gt;
            &lt;a href="https://stackoverflow.com/questions/61561296/change-query-string-to-allow-for-multiple-values" rel="noopener noreferrer"&gt;
               Change query string to allow for multiple values
            &lt;/a&gt;
        &lt;/h1&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;May  2 '20&lt;/span&gt;
            &lt;span&gt;Comments: 1&lt;/span&gt;
            &lt;span&gt;Answers: 2&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/61561296/change-query-string-to-allow-for-multiple-values" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xjukSftY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-up-73f60a9ccafdb2f40eec3701f62d2fd7121e02a581a2850e671a7e415eb49071.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          1
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4ZRntoBk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-down-80fee73e4bc433405a0c0f3b9b88354ecccbdf53f131f8cd998aa30ed5223407.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;I have an issue with my query string, the problem is when multiple values are selected my Django search breaks. I get this in the URL &lt;code&gt;?Query=value1&amp;amp;Query=Value2&lt;/code&gt;. In this scenario, it's only the last value that is searched. What I want to happen is that both values are searched…&lt;/p&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    
      &lt;a href="https://stackoverflow.com/questions/61561296/change-query-string-to-allow-for-multiple-values" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
    
  &lt;/div&gt;
&lt;/div&gt;


</description>
      <category>html</category>
      <category>django</category>
    </item>
  </channel>
</rss>
