def get_prep_lookup(self, lookup_type, value):
        "Perform preliminary non-db specific lookup checks and conversions"
        if ('exact',) in lookup_type:
            return value
        raise TypeError("DateField has invalid lookup: %s" % lookup_type)
dataset/ETHPy150Open django-ldapdb/django-ldapdb/ldapdb/models/fields.py/DateField.get_prep_lookup/swapped operands of `in`