﻿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
29508	Simplify overriding `login_form` in AdminSite	Rémi Lapeyre	nobody	"When setting `login_form` of `AdminSite` to a subclass of AdminAuthenticationForm an AppRegistryNotReady exception gets raised as documented in https://github.com/django/django/blob/master/django/contrib/admin/sites.py#L377.

This problem makes it harder to customize the administration site as it requires to override the whole `login` method of AdminSite to bypass it.

The attached patch use `import_string` to let users specify the class to use as a string and import it at runtime."	Cleanup/optimization	closed	contrib.admin	2.0	Normal	invalid		Carlton Gibson	Unreviewed	1	0	0	0	1	0
