Invalid Subdomain URL not redirect to default 404 page showing 500
Opened this issue · 2 comments
shalushaji commented
When accessing an invalid URL in my subdomain .it showing an error 500.https://stackoverflow.com/questions/63014110/django-hosts-how-to-manage-invalid-urls-in-a-subdomain-django-urls-exceptions
how to manage 404 in subdomains
shaluepixel commented
Issue fixed by using Django custom error views
https://docs.djangoproject.com/en/3.1/topics/http/views/#customizing-error-views
hadpro24 commented
Hey are find the solution for this ? I override correction custum error views but I take 304 redirection.