test_apiurls: Fix failures when using django 3.2.7
Package for debian unstable currently fails as django has been bumped from 2.x to 3.x.