Switch from Django's old curry() method to functools.partial().

Review Request #11093 — Created July 22, 2020 and submitted

chipx86
Django Evolution
master
django-evolution

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
favor of 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 partial() instead of
curry().

Unit tests pass on all supported versions of Python and Django.

Summary
Switch from Django's old curry() method to functools.partial().
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (cc127f0)
Loading...