title: Django 1.8 & Django Crispy Forms: Is there a simple, easy way of implementing a Date Picker?
body: <p>There are an awful lot of date/datetime picker implementations out there. Are there any that integrate with Django and Crispy Forms particularly well, and how are they used?</p>
  
  <p>I'm looking to minimise development effort, maximise simplicity, and make use of Django localisation.</p>
  
  <p>A Django/Crispy standard output for a date field:</p>
  
  <pre><code>&lt;input class="dateinput form-control" id="id_birth_date" name="birth_date" type="text" value="21/07/2015"&gt;
  </code></pre>
  
  <p>In the Model:</p>
  
  <pre><code>birth_date = models.DateField(verbose_name='D.O.B', auto_now_add=False, auto_now=False)
  </code></pre>
  
  <p>Thanks!</p>
  
  <p>EDIT:</p>
  
  <p>Profile Model:</p>
  
  <pre><code>from django.db import models
  
  class Profile(models.Model):
      birth_date = models.DateField(verbose_name='D.O.B', auto_now_add=False, auto_now=False)
  </code></pre>
  
  <p>Profile Form:</p>
  
  <pre><code>from django import forms
  from profiles.models import Profile
  
  
  class ProfileForm(forms.ModelForm):
      class Meta:
          model = Profile
          birth_date = forms.DateField(
              widget=forms.TextInput(
                  attrs={'type': 'date'}
              )
          )
  </code></pre>
  
  <p>Profile View:</p>
  
  <pre><code>from django.shortcuts import get_object_or_404
  from django.contrib.auth import get_user_model
  from profiles.models import Profile
  from profiles.forms import ProfileForm
  
  User = get_user_model()
  
  def edit(request):
      profile = get_object_or_404(Profile, user=request.user)
      form = ProfileForm(request.POST or None, request.FILES or None, instance=profile)
      if request.method == 'POST' and form.is_valid():
          form.save()
      context = {
          'form': form,
          'page_title': 'Edit Profile',
      }
      return render(request, 'profiles/edit.html', context)
  </code></pre>
  
  <p>Profile Edit Template:</p>
  
  <pre><code>&lt;form enctype="multipart/form-data" method="POST" action="."&gt;
      {% csrf_token %}
      {{ form }}
      &lt;input class='btn btn-primary' type="submit" value="Submit" /&gt;
  &lt;/form&gt;
  </code></pre>