Switch a use of inspect.getargspec to func_accepts_kwargs
Review Request #12030 — Created Feb. 3, 2022 and discarded
We had a place that was using the old
getargspecmethod just to
determine if a method accepted
**kwargs. Django has a helper for just
this purpose, so we should switch to it.
Ran unit tests.
This already exists upstream. Commit 51fd5145363021b35873151bceb67e65911e6f8a.