We are developing a project with several applications using Django. It shares the database, but it has several applications targeting different very different users. Roughly, administrators and final users. The UI of each application is very different. I need to create a 404 error page, but seems that I can only create one for all the project. I would like to create different 404 templates and being able to shown them depending on the application (URL) the user is asking for...
For general, clearly invalid URL it's easy, but in the code there are other ways of launching exceptions, like get_object_or_404
calls.
Anyone knows a way of doing that?