def get_db_prep_lookup(self, lookup_type, value):
        # For "__month", "__day", and "__week_day" lookups, convert the value
        # to an int so the database backend always sees a consistent type.
        if lookup_type in ('month', 'day', 'week_day'):
            return [int(value)]
        return super(DateField, self).get_db_prep_lookup(lookup_type, value)
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/db/models/fields/__init__.py/DateField.get_db_prep_lookup/original