Cf above comment, this has been removed - it will now either return the generic error when DEBUG is off, or let Django send back the full exception if DEBUG is on.