﻿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
33427	Add new flag in loaddata command that loads fixture without overriding existing objects with same primary key	Mohit Solanki	nobody	"Installing fixtures with django's `loaddata` command overrides objects with the same primary key.
While this is not a problem if you are installing the fixtures against a fresh DB with no data but in case you have
existing data then loading the fixture can be problematic as all the existing rows with the same primary key will be updated
with the new data from the fixture(s)
It would be a good idea to have an additional flag like for e.g `--insert-only` or something that tells django not to override existing objects with the same primary key.

Note: I created this package https://github.com/mohi7solanki/dj-snake to solve this issue but I think It would be a good idea to add this functionality to `loaddata` itself"	New feature	closed	Core (Management commands)	dev	Normal	wontfix	loaddata, fixture, command	me@…	Unreviewed	0	0	0	0	0	0
