﻿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	Access to deleted attribute triggers a query	Julien Hartmann	nobody	"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.
"	Uncategorized	new	Database layer (models, ORM)	1.10	Normal				Unreviewed	0	0	0	0	0	0
