﻿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
35670	Unclear docs for LoginRequiredMiddleware.get_login_url()	Claude Paroz	Aditya Chaudhary	"I'm struggling to understand the second sentence of the documentation of LoginRequiredMiddleware.get_login_url() (https://docs.djangoproject.com/en/5.1/ref/middleware/#django.contrib.auth.middleware.get_login_url).

`If defined, this returns the login_url set on the login_required() decorator. Defaults to settings.LOGIN_URL.`

After many reads, I think I get the point of the `If defined` that means if the `login_required() defines login_url, then`...
I'm sure we can do better. Same issue with the docs for `get_redirect_field_name()` below."	Cleanup/optimization	closed	Documentation	5.1	Release blocker	fixed			Ready for checkin	1	0	0	0	1	0
