It looks like you're bumping into this issue described in the PR on comment here: python/cpython#3249 (comment) As described in the comment a viable solution could be to monkeypatch ...
Professional-grade data anonymization for Django applications using PostgreSQL's native anonymizer extension. Anonymize sensitive data in development, testing, and analytics environments. Django ...