title: DateArchiveView date object for template
body: <p>My app has <code>ArchiveIndexView</code>, <code>YearArchiveView</code>, <code>MonthArchiveView</code> and <code>DayArchiveView</code>. Except in <code>ArchiveIndexView</code>, I wanna add a Back link which will point back to its successor in all the views. So in the template of <code>MonthArchiveView</code>, I did it like this:</p>
  
  <pre><code>&lt;a href="{% url 'year_archive' date_list.0.date.year %}"&gt;Back&lt;/a&gt;
  </code></pre>
  
  <p>which would point back to <code>YearArchiveView</code>.
  But in <code>DayArchiveView</code>, there is no <code>date_list</code> attribute as of <a href="https://docs.djangoproject.com/en/2.0/ref/class-based-views/generic-date-based/#dayarchiveview" rel="nofollow noreferrer">Django documentation</a> so how can I implement date object to be used in the template?</p>