fix/workaround for tests to run on all versions of Django.