I can't use login_required, because that returns a redirect if the requirement is not satisfied. Do we have a library somewhere for general-purpose view decorators?