django-rest-swagger icon indicating copy to clipboard operation
django-rest-swagger copied to clipboard

The primary key is optional parameter, but sends 0, causing the program to report errors.

Open shane965 opened this issue 5 years ago • 0 comments

{"errors": { "retweeted_status": [ "Invalid pk \"0\" - object does not exist." ], "replied_status": [ "Invalid pk \"0\" - object does not exist." ] } } After rest-framework==3.8.2 update https://github.com/encode/django-rest-framework/pull/5764

shane965 avatar Sep 11 '18 02:09 shane965