﻿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
20429	Add QuerySet.update_or_create method	Evan Cofsky	Karol Sikora	It seems handy to have a function that would update an existing record in the database with the values of defaults if one is found, instead of just returning a flag to the caller like get_or_create does. We have a codebase using this, but it may also be useful to the world at large. The attached implementation makes a passing effort at not updating too much of the model, but should probably actually restrict itself to just fields and related objects instead of any attribute.	New feature	closed	Database layer (models, ORM)	dev	Normal	fixed		timograham@…	Accepted	1	0	0	0	0	0
