title: Input Date value Property django
body: <p>I'm trying to display the value of a date field from the database in my HTML but the field still shows blank text</p>
  
  <p>I've tried using the Django pipe when setting the value of the date. When I even use the same exact code in the label it works well but doesn't just work in the date field</p>
  
  <p>This is my views.py file</p>
  
  <pre><code>def all(request):
      employees = Employee.objects.all().order_by('last_name')
      departments = Department.objects.all()
      table = EmployeeTable(employees)
      RequestConfig(request).configure(table)
      context =  {
          'table':table,
          'employees':employees,
          'departments':departments
      }
      if request.method == "POST":
          first_name = request.POST['first_name']
          last_name = request.POST['last_name']
          name = last_name +' '+first_name
          employee_id = request.POST['employee_id']
          email = request.POST['email']
          department = Department.objects.get(dept_name = request.POST['department'])
          address = request.POST['address']
          employment_type = request.POST['employment_type']
          employment_status = request.POST['employment_status']
          role = request.POST['role']
          marital_status = request.POST['marital_status']
          gender = request.POST['gender']
          join_date = request.POST['join_date']
          end_date = None if len(request.POST['end_date']) ==0 else request.POST['end_date']
          location = request.POST['location']
          credentials = request.POST['credentials']
          passport = request.POST['passport']
          hod = request.POST['hod']
          phone_number = request.POST['phone_number']
          date_of_birth = request.POST['date_of_birth']
          date_added = datetime.now()
  
  </code></pre>
  
  <p>This my HTML code</p>
  
  <pre><code>&lt;div class="col-sm-6"&gt;
    &lt;div class="form-group"&gt;
       &lt;label for='date_of_birth' class="control-label"&gt;Date of Birth
         {{employee.date_of_birth|date:'Y/m/d'}}  
         {{employee.date_of_birth|date:'m-d-Y'}}  
         {{employee.date_of_birth|date:'SHORT_DATE_FORMAT'}} &lt;span class="text- 
         danger"&gt;*&lt;/span&gt;
       &lt;/label&gt;
       &lt;input name='date_of_birth' type="date"  class="form-control" value = " 
       {{employee.date_of_birth|date:'m/d/Y'}} " &gt;
     &lt;/div&gt;
  &lt;/div&gt;
  
  </code></pre>
  
  <p><img src="https://res.cloudinary.com/dn1b66xo5/image/upload/v1559233031/Screen_Shot_2019-05-30_at_5.12.09_PM_y49rm2.png" alt="Result"></p>