﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22647	redirect_field_name keyword argument for user_passes_test missing in documentation	Vidir Valberg Gudmundsson	Tim Graham	When using the `user_passes_test` decorator to hinder access for non superusers, I got annoyed that I couldn't remove the '?next=' part of the URL, until I read the source code and saw that there is a mismatch between the source code and documentation. There is in fact an optional `redirect_field_name` argument for the `user_passes_test` decorator, and setting that to `None` removes that part of the URL.	Cleanup/optimization	closed	Documentation	1.7-beta-2	Normal	fixed			Accepted	1	0	0	0	0	0
