removing django 1.5+ warning