djangosnippets.org: Latest snippets posted by paridinhttps://djangosnippets.org/users/paridin/2015-07-09T15:36:20.454762-05:00paridinCompare objects list and get a list of object to inserted or updated
2015-07-09T15:36:20.454762-05:00paridinhttps://djangosnippets.org/snippets/10509/<p><strong>Problem</strong>
You have an input <code>json</code> with which you will create a list of objects, you have to validate that the object will be created if it not exists, if exists determine whether to upgrade or discard depending of they have not undergone any changes.</p>
<p>Solution
1) With the input …</p>
Freely redistributable