[Fixed]-Django rest framework http 404 detail": "Not found."

1👍

As Booby suggested your url is wrong. If you are using PUT request I suggest your that your remove your url arguments except id. So it will look like so: url(r'^updatetempitinerary/(?P<id>[0-9]+)/$', views.updateTempItinerary.as_view()), That is all (notice there is a $ sign at the end).

If this does not work please provide your serializers and full error traceback. You can update your model on 127.0.0.1:8000/api/updatetempitinerary/1/.

Leave a comment