Fix #9 django 17 compatibility for test suite

Fix #9 django 17 compatibility for test suite