fix with cycle tag for django 1.7