tomchristie/django-rest-framework — pull request #482 by n8agrin (2012-12-08 01:01:58+00:00)
Title: Update with int pk

Per closed pull request #481:

I've provided a test that in master will break but on this branch will pass. Essentially all the tests that currently exercise the UpdateModelMixin do so by manually passing a pk= value to the view. In my breaking test change I pass pk= which is, I believe, more in line with what Django actually does when handling urls.

I looked into the Django behavior around pk values quite a bit before posting this but if I've got something wrong please let me know.