I have a piece of code in a Django REST framework that looks like the following. It works if the request arguments are valid, but if I specify a non-valid search keyword, the browser returns an empty python file with length of 0 bytes instead of an HTML error code. What am I doing wrong with respect to error catching?I have a piece of code in a Django REST framewo