Fix saving in cases where the object's ID isn't an int.
Fix saving in cases where the object's ID isn't an int.

charles-vdulac/django-roa,charles-vdulac/django-roa,janusnic/django-roa,bjarnoldus/django-roa,janusnic/django-roa,bjarnoldus/django-roa