#### I found some string was truncated in this function ```python def strip_GeomFromEWKB(param): if isinstance(param, str): return param.lstrip("ST_GeomFromEWKB('\\x").rstrip("'::bytea)") return param ``` #### Related Pull Request - https://github.com/jazzband/django-debug-toolbar/pull/1426 #### Minimally Reproducible Test Case ```python In [8]: "botpy".lstrip("ST_GeomFromEWKB('\\x").rstrip("'::bytea)") Out[8]: 'botp' In [9]: "Botpy".lstrip("ST_GeomFromEWKB('\\x").rstrip("'::bytea)") Out[9]: 'tp' ```