You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if you have a lookup_field on serializers that is different from the 'pk', you will be able to do `/api/objects/{new_lookup_field}' but in the payload the "id" will still be the numerical one that django uses by default. This goes for GET and PATCH. I think this is an inconsistency.
The text was updated successfully, but these errors were encountered:
Currently if you have a lookup_field on serializers that is different from the 'pk', you will be able to do `/api/objects/{new_lookup_field}' but in the payload the "id" will still be the numerical one that django uses by default. This goes for GET and PATCH. I think this is an inconsistency.
The text was updated successfully, but these errors were encountered: