I am not an expert on Django. I came across for the invalid url a lot in django. is there any defualt route to be configured instead of showing nothing or showing error page while debuging. like, we might configure one route that redirects in any case of invalid url or not data found or ... Hope i explained and made my point clear.
for the updates, I have created a invalid url response, in case of any errors, re redirect to that url. It works as it should be. problem solved.