Handling customer exceptions in django to redirect the user