title: Passing variable from django template to view
body: <p>I'm building my first site with django 1.7 and am having a hard time figuring out how to pass a variable from a click to a view. My GET is also empty.</p>
  
  <p>My template has a table with Facebook Account IDs, when clicked should show a list of Facebook pages that user Admins.</p>
  
  <p>My template:</p>
  
  <pre><code>{% for SocialAccount in accountlist %}
     &lt;tr&gt;
        &lt;td&gt;&lt;a href="{% url 'INI:fbpages' %}"&gt;{{ SocialAccount.uid }}&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt;{{ SocialAccount.extra_data.first_name }}&lt;/td&gt;
        &lt;td&gt;{{ SocialAccount.extra_data.last_name }}&lt;/td&gt;
        &lt;td&gt;{{ SocialAccount.extra_data.email }}&lt;/td&gt;
     &lt;/tr&gt;
  {% endfor %}
  </code></pre>
  
  <p>and my view:</p>
  
  <pre><code>def fbpages(request, fbuser):
      djuser = request.user.id
      context = RequestContext(request)
      fbuser = 1234634
      pagelist = facebook.pages(request, djuser, fbuser)
      blocks = {'title': 'Facebook Pages',
            'pagelist': pagelist}
      return render(request, "initiative/ListFBPages.html", blocks)
  </code></pre>
  
  <p>I could do this easily if I put the ID in the URL but I don't want to expose a page/user ID in the url. I feel like there's an easy solution but I haven't figured it out.</p>
  
  <p>Thanks for you help.</p>