Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. def clone_model_instance(old_obj):
  2.     old_obj.pk = None
  3.     old_obj.save()
  4.     return old_obj # this actually the new created obj