warmongo icon indicating copy to clipboard operation
warmongo copied to clipboard

Model.find_or_create should return a tuple (object, created)

Open hownowstephen opened this issue 12 years ago • 1 comments

Often have the need to know whether or not the object was created, in order to determine future logic.

hownowstephen avatar Mar 19 '13 15:03 hownowstephen

This has been fixed in the find-or-create branch. Feel free to test it out.

robbrit avatar Mar 28 '13 18:03 robbrit