This repository has been archived by the owner on Feb 7, 2019. It is now read-only.
Adjust restore() parameter handling
When passing ForeignKeys to restore(), follow Django practice for allowing either objects or ids to be passed.
With an object:
employee.restore(team=new_team)
With an id:
employee.restore(team_id=new_team.id)