fix for testing django 1.3