title: DateTimeInput is being rendered as simple text input in django
body: <p>I have tried to take date time input from the user but data type of date input is being set as type="text"</p>
  
  <p>following are the code snippets:</p>
  
  <p>template:</p>
  
  <pre><code>&lt;link href="https://cdnjs.cloudflare.com/ajax/libs/jquery-datetimepicker/2.5.20/jquery.datetimepicker.min.css" integrity="sha256-DOS9W6NR+NFe1fUhEE0PGKY/fubbUCnOfTje2JMDw3Y=" crossorigin="anonymous" /&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-datetimepicker/2.5.20/jquery.datetimepicker.full.min.js" integrity="sha256-FEqEelWI3WouFOo2VWP/uJfs1y8KJ++FLh2Lbqc8SJk=" crossorigin="anonymous"&gt;&lt;/script&gt;
  
  
  &lt;form method="POST" enctype="multipart/form-data"&gt;
      {% csrf_token %}
      {{form.stayFrom}}
      &lt;script&gt;
           $(function () {
           $("#id_stayFrom").datetimepicker({
               format: 'd/m/y',
               });
           });
        &lt;/script&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>forms.py: </p>
  
  <pre><code>class RoomApplicationForm(forms.ModelForm):
      stayFrom = forms.DateTimeField(input_formats=['%d/%m/%y'])
      class Meta:
          model = Stay 
          fields = ('stayFrom')
  </code></pre>
  
  <p>models.py:</p>
  
  <pre><code>class Stay(models.Model):
      user = models.OneToOneField(Account, on_delete=models.CASCADE, primary_key = True)
  
      stayFrom = models.DateTimeField(verbose_name="stay start date")
  </code></pre>
  
  <p>heres the rendered html: </p>
  
  <pre><code>&lt;input type="text" name="stayFrom" id="id_stayFrom" autocomplete="off"&gt;
  </code></pre>
  
  <p>can you point out what i'm missing in my code?</p>