Skip to content

Use DRF's get_object_or_404 instead of the default in the pizzas viewset

Sébastiaan Versteeg requested to merge fix/use-correct-object-404 into master

Short description

The error should be given in JSON, not HTML.

Merge request reports