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 24048,only() doesn't override fields included in defer() as documented,Will Earp,Ryan Cheley,"The docs give the following example for the `QuerySet` API's `only`: {{{ # Final result loads headline and body immediately (only() replaces any # existing set of fields). Entry.objects.defer(""body"").only(""headline"", ""body"") }}} https://docs.djangoproject.com/en/dev/ref/models/querysets/#django.db.models.query.QuerySet.only I understand this to mean that ""body"" will be loaded i.e. not a deferred field. When testing this, however, ""body"" is still considered a `DeferredAttribute`. Is this a possible bug or does the documentation need changing?",Bug,closed,"Database layer (models, ORM)",dev,Normal,fixed,"defer, only, QuerySet, DeferredAttribute",,Ready for checkin,1,0,0,0,0,0