Switch from Django's old curry() method to functools.partial().
Review Request #11093 — Created July 22, 2020 and submitted
We have some functions we dynamically created that made use of Django's
curry()utility function. This function is gone in Django 3.0, in
functools.partial(). While the two are not always fully
interchangeable for all use-cases, they are here.
This change simply updates our code to use
Unit tests pass on all supported versions of Python and Django.