﻿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
18362	model save with update_fields should accept both field.name and field.attname	Anssi Kääriäinen	nobody	"Currently only field.name is accepted in update_fields argument. It seems field.attname should be accepted, too. Most commonly this will be encountered when trying to save a related field by ""_id"" appendix - for example update_fields=['profile'] will work, but update_fields['profile_id'] will not work currently.

In my opinion this should work, as profile_id works in many other places, too, and this could be useful for automatic tracking of field changes for example.

Refs #4102, #18306."	Bug	closed	Database layer (models, ORM)	dev	Normal	fixed		niwi@…	Accepted	1	0	0	0	0	0
