sehmaschine/django-grappelli — Issue #63: Rename object pk
Author: krzysiekpl
Created: 2011-12-09 13:10:30+00:00
State: open

data.append({"value":obj.id,"label":get_label(obj)})
https://github.com/sehmaschine/django-grappelli/blob/master/grappelli/views/related.py#L68

Returned object_id should use .pk not .id