django-rest-swagger
django-rest-swagger copied to clipboard
The primary key is optional parameter, but sends 0, causing the program to report errors.
{"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