﻿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
36414	Add an index to object_id on django_admin_log	Stanislas Guerra		"Hi,

As the database grows, the history page of an object in the admin take more an more time to load due to the lack of an SQL Index on the ''object_id'' column of the ''django_admin_log'' table.

I manually added the following to solve the issue:

{{{
CREATE INDEX django_admin_log_object_id ON django_admin_log (object_id);
}}}

I can provide a patch if it can help."	Cleanup/optimization	closed	contrib.admin	5.1	Normal	duplicate		Stanislas Guerra	Unreviewed	0	0	0	0	0	0
