title: Create type date in django form
body: <p>Good morning,</p>
  
  <p>I'm looking for a way to create a type date in django form. But all types are "text" and then the html don't show me what I want. And I want to set a id/class also. </p>
  
  <pre><code>date = forms.DateField(widget=forms.DateInput(attrs={'id': 'field1', 'class': 'something'}))
  </code></pre>
  
  <p>This code creates a type text and it's useless for me. How can I create a type 'date' ? </p>
  
  <p>Thanks a lot.ee</p>