potential fix for django 1.2 compatibility
fix tests in django 1.6