On Jan 12, 2006, at 8:09 AM, Simon Willison wrote:
Maybe it would be useful for all Django model objects to gain themselves a duplicate() method which does exactly this - returns an identical object but with id set to None.
+1 -- obj.copy() might be a better syntax to mimic dict.copy(). Jacob