title: Pass dictionary data to Django view
body: <p>I'm confused on how to set up/call my url to pass a dictionary of data from my template to my view. I'm getting an error "NoReverseMatch at /categories/academy/" How can I pass <code>data_dict</code>, which is a dictionary, to my view?</p>
  
  <p>template.html</p>
  
  <pre><code>&lt;a href="{% url 'polls:request_access' data_dict %}" class="btn btn-green btn-sm"&gt;&lt;i class="fa fa-plus"&gt;&lt;/i&gt; Join Group&lt;/a&gt;
  </code></pre>
  
  <p>urls.py</p>
  
  <pre><code># the category_slug in this case is "academy", see the error I mentioned above
  url(r'^categories/(?P&lt;category_slug&gt;[-\w]+)/request_access/$', 'request_access', name='request_access')
  </code></pre>
  
  <p>views.py</p>
  
  <pre><code>def request_access(request, data):
      print("DJANGO VIEW- THIS IS NOT PRINTING")
      mydata = request.GET.get('data_dict')  # will this work?
      # do other stuff
      return render(request, 'polls/categories/group_access_requested.html',
          {'data': request})
  </code></pre>