title: how to use AdminSplitDateTime widget in a custom form
body: <p>In django 1.6.5 I want to use <code>AdminSplitDateTime</code> widget in a custom form. this is what I've done so far:</p>
  
  <pre><code>#forms.py
  class MyForm(forms.Form):
      ...
      pub = forms.DateTimeField(label="pub", widget=widgets.AdminSplitDateTime())
  </code></pre>
  
  <p>and in the template I have:</p>
  
  <pre><code>#mytemplate.html
  ...
  &lt;form method="post" action="."&gt;
      {% csrf_token %}
      &lt;table id="form_table"&gt;
          {{ form.as_table }}
      &lt;/table&gt;
      &lt;input  type="submit" value='{% trans "Send" %}' /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>but when I open the page, date and time shortcuts beside the widgets (today and now) are not rendered. at first I thought maybe I'm not including right <code>css</code> and <code>js</code>, so I checked a regular admin page which renders the widget correctly and added all the <code>css</code> and <code>js</code> needed, but nothing heppend.</p>
  
  <p>so what may be the problem?</p>