When i do update date not correctly working

this is my orm

import os

from dotenv import load_dotenv

from tinymce.models import HTMLField

from django.db import models

from apps.specuser.models import *

load_dotenv()

from gdstorage.storage import GoogleDriveStorage, GoogleDrivePermissionType, GoogleDrivePermissionRole, GoogleDriveFilePermission

permission =  GoogleDriveFilePermission(
   GoogleDrivePermissionRole.READER,
   GoogleDrivePermissionType.USER,
   os.getenv("EMAIL")
)

public_permission = GoogleDriveFilePermission(
    GoogleDrivePermissionRole.READER,
    GoogleDrivePermissionType.ANYONE,
    None
)

drive_storage = GoogleDriveStorage(permissions=(permission, public_permission, ))


class BuluntuYeri(models.Model):
    name = models.CharField(("Buluntu Yeri"), max_length=150)

    def __str__(self) -> str:
        return self.name


class AcmaRapor(models.Model):
    RAPOR_CHOICES = (
        ("daily", "Günlük"),
        ("weekly", "Haftalık"),
        ("fifteenday", "15 Günlük"),
        ("monthly", "Aylık"),
        ("closing", "Kapanış"),
    )
    user = models.ForeignKey(
        SiteUser, verbose_name="Veri Giren", on_delete=models.CASCADE
    )
    rapor_type = models.CharField(
        "Rapor Tipi", max_length=10, choices=RAPOR_CHOICES, default="daily"
    )
    placebuluntu = models.ForeignKey(
        BuluntuYeri, verbose_name="Buluntu Yeri", on_delete=models.CASCADE
    )
    rapordate = models.DateField("Rapor Tarihi", auto_now=False, auto_now_add=False)
    title = models.CharField("Başlık", max_length=150)
    owner = models.CharField("Formu Dolduran", max_length=150)
    rapordetail = HTMLField("Rapor Detay")
    file = models.FileField("Evrak Yükleme", upload_to="raporfiles",storage=drive_storage,max_length=100)

    def __str__(self) -> str:
        return self.title

and my forms.py;

from apps.specuser.models import *
from django import forms
from django.forms import DateInput

from .models import *


class CustomDateInput(DateInput):
    input_type = "date"



class AcmaRaporForm(forms.ModelForm):

    def __init__(self, *args, **kwargs):
        user = kwargs.pop("user", None)
        super(AcmaRaporForm, self).__init__(*args, **kwargs)

        for field_name, field in self.fields.items():
            if field_name == "rapor_type":
                field.widget.attrs["class"] = "form-check-input"
            else:
                field.widget.attrs["class"] = "form-control mb-3 rounded"
                field.widget.attrs["placeholder"] = field.label

            if field_name == "user":
                field.initial = user
                field.disabled = True


    class Meta:
        model = AcmaRapor
        fields = "__all__"
        widgets = {
            "rapordate": CustomDateInput(),
            "rapor_type": forms.RadioSelect(),
            }

and for the template ;

  <!-- Update Modal -->
  <div
    class="modal fade"
    id="updateModal{{ rapor.id }}"
    tabindex="-1"
    role="dialog"
    aria-labelledby="updateModalLabel{{ rapor.id }}"
    aria-hidden="true"
  >
    <div
      class="modal-dialog"
      role="document"
      style="max-width: 900px; max-height: 1500px"
    >
      <div class="modal-content">
        <form
          method="post"
          action="{% url 'update-rapor' rapor.id %}"
          class="update-form"
          enctype="multipart/form-data"
        >
          {% csrf_token %}
          <div class="modal-header">
            <h5 class="modal-title" id="updateModalLabel{{ rapor.id }}">
              Rapor Güncelle
            </h5>
            <button
              type="button"
              class="btn-close"
              data-bs-dismiss="modal"
              aria-label="Close"
            ></button>
          </div>
          <div class="modal-body">
            {% for form_id, form in updateForms.items %}
            {% if form_id == rapor.id %}
            <div class="row justify-content-between mt-3 p-3">
              <div class="col-md-12">
                  <div class="d-flex align-items-center mb-4">
                      {% for radio in form.rapor_type %}
                          <div class="form-check form-check-inline">
                              {{ radio }}
                          </div>
                      {% endfor %}
                  </div>
              </div>
              <div class="col-md-6">
                  <div class="row">
                      <div class="col-md-6">
                          <label for="id_placebuluntu">Buluntu Yeri</label>
                          {{form.placebuluntu}}
                      </div>
                      <div class="col-md-6">
                          <label for="id_rapordate">Rapor Tarihi</label>
                          {{ form.rapordate }}
                      </div>
                      <div class="col-md-12">
                          <label for="id_title">Başlık</label>
                          {{form.title}}
                      </div>
                  </div>
              </div>
              <div class="col-md-6">
                  <div class="row">
                      <div class="col-md-12">
                          <label for="id_owner">Formu Dolduran</label>
                          {{form.owner}}
                      </div>
                      <div class="col-md-12">
                          <label for="id_user">Veri Giren</label>
                          {{form.user}}
                      </div>
                  </div>
              </div>
          </div>
          <div class="card-header mt-3">
            Rapor Detay
        </div>
        {{form.rapordetail}}
        <div class="card-header mt-3">
            Evrak Yükleme
        </div>
        {{form.file}}
          {% endif %}
          {% endfor %}
          </div>
          <div class="modal-footer">
            <button
              type="button"
              class="btn btn-secondary"
              data-bs-dismiss="modal"
            >
              Kapat
            </button>
            <button type="submit" class="btn btn-primary">Kaydet</button>
          </div>
        </form>
      </div>
    </div>
  </div>
  <!-- Update Modal End -->

console error;

list:384 The specified value "22/01/2024" does not conform to the required format, "yyyy-MM-dd".

actually at settings.py i did it that when i use the django=4.2.7

DATE_INPUT_FORMATS = [“%Y-%m-%d”]

USE_L10N = False

i resolved problem but now i am using 5.0.2 version and when i did test about the version 4.2.7 working that but with 5.0.2 not working.

can you help this issue?

It would help here if you posted the complete traceback, including the error, along with the view that is processing this form.

Of course.

When i want the do update date not correctly working

and also in console;

but when i was a use Django==4.2.7 i solve this problem from settings.py;

DATE_INPUT_FORMATS = ["%Y-%m-%d"]
USE_L10N = False

with it but v5.0.1 not working that.