title: Jquery datepicker in django doesn't show the drop down table
body: <p>There is no error alert, but there is no dropdown table to choose the date. I want to use the datepicker of jquery to realize this function.</p>
  
  <p><strong>html code</strong>   </p>
  
  <pre><code>&lt;html&gt; 
  &lt;head&gt;  
      &lt;meta http-equiv="Content-Type" content="text/html;charset=utf-8"/&gt;  
      &lt;title&gt;Input Table&lt;/title&gt;  
      &lt;link rel="stylesheet" href="http://code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css"&gt; 
      &lt;script src="http://code.jquery.com/jquery-1.9.1.js"&gt;&lt;/script&gt;
      &lt;script src="http://code.jquery.com/ui/1.11.0/jquery-ui.js"&gt;&lt;/script&gt;
      &lt;script&gt;
        $(document).ready(function() {
          $( "#id_startdate" ).datepicker();
        });
      &lt;/script&gt;        
  &lt;/head&gt;  
  
  &lt;body&gt; 
      &lt;script type="text/javascript" src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"&gt;&lt;/script&gt;
      &lt;form action="" method="post"&gt;{% csrf_token %}
      &lt;p&gt;Date: &lt;input type="text" id="datepicker"&gt;&lt;/p&gt;
  &lt;/body&gt;  
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>models.py</strong></p>
  
  <pre><code>class input(models.Model):
      start_date=models.DateField(auto_now=False, auto_now_add=False)
  </code></pre>
  
  <p><strong>forms.py</strong></p>
  
  <pre><code>from django import forms
  from django.forms import ModelForm
  from .models import input
  from django.contrib.auth.models import User,Group
  import Queue
  from datetimewidget.widgets import DateTimeWidget, DateWidget, TimeWidget
  from django.forms import widgets
  from django.forms import extras
  from functools import partial
  
  DateInput = partial(forms.DateInput, {'class': 'datepicker'})
  class inputform(forms.ModelForm):
      start_date=forms.DateField(widget=DateInput())
  class Meta:
      model = input
      fields = ('start_date')
      widgets = {
          'start_date': forms.DateInput(attrs={'class':'datepicker'}),
      }
  </code></pre>