title: Passing multiple arguments from django template href link to view
body: <p>I am trying to pass some arguments with a link url href in a template to a view.</p>
  
  <p>In my template :</p>
  
  <blockquote>
  <pre><code>&lt;a href="/print-permission-document/ studentname={{studentinfo.0}} studentsurname={{studentinfo.1}} studentclass={{studentinfo.2}} doctype=doctype-studentlatepermission"&gt;Print&lt;/a&gt;
  </code></pre>
  </blockquote>
  
  <p>So i am trying to pass 4 arguments to my view.</p>
  
  <p>My view is :</p>
  
  <pre><code>def print_permission_document(request, studentname, studentsurname, studentclass, doctype):
  file_write(studentname.encode('utf-8')+" "+studentsurname.encode('utf-8')+" "+studentclass+" "+doctype)
  return response
  </code></pre>
  
  <p>My  urls.py is :</p>
  
  <pre><code>url(r'^print-permission-document/.+$', print_permission_document, name='print-permission-document')
  </code></pre>
  
  <p>But i get below error :</p>
  
  <p>Exception Type: TypeError
  Exception Value:<br>
  print_permission_document() takes exactly 5 arguments (1 given)</p>