title: How do I do this in my Django URLs? (.json, .xml)
body: <p>Suppose this is my URL route:</p>
  
  <pre><code>(r'^test/?$','hello.life.views.test'),
  </code></pre>
  
  <p>How do I make it so that people can do .json, .xml, and it would pass a variable to my views.test, so that I know to make json or xml?</p>