django get id of newly created object

Solutions on MaxInterview for django get id of newly created object by the best coders in the world