FWIW, there's also a similar decorator for `@login_required`