In the list view, when I add one field to be a link to another method, it doesn't create the foreign key ids to the proper object, as it uses the ID of the listed object instead of the ID of the FK. For instance I have this code:
field_links = { 'id': 'user-pictures:update', 'user__user_slug': 'sbusers:update', }
And for the sake of argument let's say that I have User Pictures with IDs 1 to 10, and all of them belong to Users with IDs 1 to 3.
This will result in a ListView of 10 items, 'id' will point to User Picture 1, 2, 3, 4, 5, etc., but the User Slug will point to the Users with IDs 1, 2, 3, 4, 5, etc., using the same PK as the User Picture, instead of pointing to the correct Users with IDs 1, 1, 1, 2, 2, 2, etc. (it may be a bit confusing to read, sorry about that!)
The Foreign Keys should take the correct user_id instead of the listed object's id.