﻿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
36603	Make LoginRequiredMiddleware avoid fetching request.user for public views	Adam Johnson	Adam Johnson	LoginRequiredMiddleware checks `request.user.is_authenticated` before `view_func.login_required`. This causes unnecessary database queries for public views, fetching the current session and user, even though the check doesn't need that information. Rearranging the condition checks to first see if the view is public would avoid that extra work.	Cleanup/optimization	closed	contrib.auth	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
