Instead of ``get_object_or_404`` you can just use [get_object](https://curling.readthedocs.org/en/latest/topics/usage.html#curling.lib.TastypieResource.get_object). You'll still need to catch those exceptions listed.