No, [the `handler500` must be defined in the root URL conf](https://docs.djangoproject.com/en/dev/topics/http/views/#http-internal-server-error-view).