The DEFAULT_HASHING_ALGORITHM setting was removed in Django 4.0. The setting is being referenced in the code here which was introduced by #33345.
Investigate if we can remove this along with some of the related code. If so, remove it. If not make a comment near the setting explaining why we continue to use it.