title: Date format changes on UpdateView in Django
body: <p>I have a form to create an object where the date input format is 'dd/mm/yyyy', when I submit the form, it is saved without any problem, but when I edit this object, the date shows as 'yyyy-mm-dd'.</p>
  
  <p>settings.py</p>
  
  <pre><code>DATE_INPUT_FORMATS = ('%d/%m/%Y')
  </code></pre>
  
  <p>forms.py</p>
  
  <pre><code>class MyForm(forms.ModelForm):
  
      created_date = forms.DateField(input_formats=['%d/%m/%Y',],
      widget=forms.DateInput(attrs={'class':'datepicker form-control', 'placeholder':'Select a date'}), required=False)
  </code></pre>
  
  <p>models.py</p>
  
  <pre><code>created_date = models.DateField(blank=True, null=True, verbose_name="Created on")
  </code></pre>
  
  <p>views.py</p>
  
  <pre><code>class MyEdit(SuccessMessageMixin, UpdateView):
      model = MyModel
      form_class = MyForm
      template_name_suffix = '_edit'
      success_message = '...'
  </code></pre>
  
  <p>and in my template I use</p>
  
  <pre><code>$(".datepicker").datepicker({
      format: 'dd/mm/yyyy',
      autoclose: true,
      changeYear: true,
      changeMonth: true
    });
  </code></pre>