title: Django adding hour and minute from form
body: <p>It is possible to add hour, minute and second from admin dashboard, but now I want to add it to my template.</p>
  <p><code>models.py</code>:</p>
  <pre><code>class Document(models.Model):
      date = models.DateTimeField()
  </code></pre>
  <p><code>forms.py</code>:</p>
  <pre><code>class CreateDocumentForm(ModelForm):
  ...
      class Meta:
          model = ComplaintDocument
          fields = '__all__'
          widgets = {
              'date': DateTimeInput(attrs={'type': 'date'}),
          }
  </code></pre>