Backport 8691 to pulpcore 3.11
We'd like to have https://pulp.plan.io/issues/8691 backported to 3.11 so we can use django 2.2.23 with galaxy_ng 4.3 for execution environments.
Added by bmbouter over 2 years ago
Fixes Pulp compatability with Django 2.2 LTS
Adjusts the upload machinery to be compatible with Django 2.2.21+. The 2.2.21 release was too strict in its checking, and 2.2.23 loosen it, so we require 2.2.23 with this PR.
(cherry picked from commit 446fc631cd148acd79a40ed0ee57c79e68f0b8c5)