Indeed, this is nothing that has to be in the Django core. You can do something like this:
http://dpaste.com/hold/552209/ Although, I do not think that's the best solution. By catching all DoesNotExist errors, the Django middleware will not receive the exception anymore and exception logging frameworks will not work. Also, you won't receive an error mail. A better solution may be to handle this errors in custom middleware, but that's actually to be discussed at django-users. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.