Can you tell me, why this line is necessary? If it is for the perm in the widget template, my question would be if we could choose a general solution: The whole request context should be in every widget.