title: Making Django forms act like HTML input tags
body: <p>So I am making a blog using Django. I want users to be able to search by date. Before I switched over to using a forms.py file, I was using a form that included this:</p>
  
  <pre><code>&lt;input type = "date"&gt;
  </code></pre>
  
  <p>When I do this, the input has a nice little button on the right side of the input box that pulls up a premade calendar. However, when my form comes out of this code in a forms.py file: </p>
  
  <pre><code>class Query(forms.Form):
  blog_author = forms.ChoiceField(choices = AUTHOR_NAME_CHOICES, label = "Author", required = False)
  blog_date = forms.DateField(label = "Publish Date", required = False)
  </code></pre>
  
  <p>It works just fine, but I lose the calendar HTML structure. How can I get that back in there?</p>
  
  <p>Here's where it comes into the template on the search.html page, for reference: </p>
  
  <pre><code>&lt;form action = "/home/query/" method = "get"&gt;
      {% csrf_token %}
      {{ form.as_table }}
  &lt;input type = "submit" value = "Find"&gt;
  </code></pre>
  
  <p></p>