1👍
✅
It’s kind of a hack, but it’s simple enough – add a url that will match anything at the end of your other urls
url(r'^.*', 'myapp.my_custom_errorview'),
Remembre that yiou have to put it last, else it will override all other urls.
👤yuvi
Source:stackexchange.com