toastdriven/django-tastypie — pull request #1160 by aivins (2014-04-15 03:38:42+00:00)
Title: Dynamic auth user model pk name in initial migration.

The __id__ column can be something else if __AbstractUser__ is in use. In our case it was __person_ptr_id__. This fixes it for me. Provided the same fix to django-reversion yesterday: https://github.com/etianen/django-reversion/pull/301