made django 1.6 compliant