from django.db.models.lookups import StartsWith,FieldGetDbPrepValueMixin
[docs]class LengthError(Exception):
def __init__(self,length) -> None:
super().__init__(f"Length of Encryption Key is '{length}' which is less than '50'")
[docs]class StartsWith(FieldGetDbPrepValueMixin,StartsWith):
pass