<filename>core/forms/CustomDateInput.py
from django import forms


class CustomDateInput(forms.DateInput):
    input_type = 'date'

<filename>core/forms/CustomDateInput.py
from django import forms


class CustomDateInput(forms.DateInput):
    input_type = 'date'
