﻿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
26787	Accessing a deleted model field attribute triggers a query to reload the field rather than raising AttributeError (behavior change in 1.10)	Julien Hartmann	Tim Graham	"This is a consequence of the implementation of #26207 in PR [https://github.com/django/django/pull/6118 6118]

Now, all fields have a `DeferredAttribute` descriptor. This has the consequence that this will trigger a model reload:

{{{
obj = MyModel.objects.get(pk=1)
del obj.title
obj.title
}}}

Up to version 1.9 (included), this code would raise an `AttributeError`. Now it silently triggers a query to reload the field from the database.

Is this intended? If so, it should probably be added to the release notes.
"	Cleanup/optimization	closed	Documentation	1.10	Normal	fixed			Accepted	1	0	0	0	0	0
