warmongo
warmongo copied to clipboard
Model.find_or_create should return a tuple (object, created)
Often have the need to know whether or not the object was created, in order to determine future logic.
This has been fixed in the find-or-create branch. Feel free to test it out.