djangosnippets.org: Latest snippets tagged with 'denormalize'https://djangosnippets.org/tags/denormalize/2009-01-13T17:58:05.411081-06:00Duplicate related objects of model instance
2009-01-13T17:58:05.411081-06:00johnboxallhttps://djangosnippets.org/snippets/1282/<p>I've got a bunch of <code>Models</code> that form a tree like structure. I'd like to duplicate them all changing one field to something else.
</p>
<p>Say for example I've got a <code>Website</code> which has <code>Pages</code> and <code>Links</code> and all kinds of other <code>Models</code>. Each one of these belong to a …</p>
Freely redistributable