Fixed #20548 -- Removed all PendingDeprecationWarnings from django test suite