﻿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
2467	[patch]  date_hierarchy in model is not checked for validity.	Simon Greenhill dev@…	Adrian Holovaty	"When one of the models has the date_hierarchy incorrectly set ( i.e. typo, or the string isn't a field in the model ), the admin section fails with a template syntax error:

{{{
FieldDoesNotExist at /admin/<app>/<something>/
Link has no field named '<misspelt field name>')
}}}

I've modified django.core.management.get_validation_errors to check that the field specified in date_hierarchy is a valid model field."	defect	closed	contrib.admin	dev	minor	fixed		dev@…	Unreviewed	1	0	0	0	0	0
