title: how to use the slug values of url in the template in django
body: <pre><code> var params = {
              year: escape(year.val()),
              month: escape(month.val()),
              day:  escape(day.val()),
           };
  
    $(window.location).attr('href', getUrlSlug()+'enquiry/thanks/?year='+params.year+'&amp;month='+params.month+'&amp;day='+params.day);
  </code></pre>
  
  <p>Now in my teplate url its displaying as:</p>
  
  <pre><code>http://127.0.0.1:8000/venues/adc-dfds-hds-kdfdf-fd-dfd/enquiry/thanks/?year=2012&amp;month=9&amp;day=13
  </code></pre>
  
  <p>Now i want use the date in my template as follows </p>
  
  <pre><code>&lt;p&gt;Your chosen date is {{params.year}},{{params.month}},{{params.day}}&lt;/p&gt;
  </code></pre>
  
  <p>i am not sure of syntax any help please...</p>