[2.2.x] Fixed #30318 -- Added check for importability of arguments of custom error handler views.

Thanks to Jon on Stack Overflow for reporting the issue.

Backport of a5accc0368 from master
This commit is contained in:
Alasdair Nicol 2019-04-04 00:17:25 +01:00 committed by Mariusz Felisiak
parent f24cf51661
commit 3c3df7db8e
5 changed files with 44 additions and 2 deletions

View file

@ -464,6 +464,8 @@ The following checks are performed on your URL configuration:
end with a slash.
* **urls.E007**: The custom ``handlerXXX`` view ``'path.to.view'`` does not
take the correct number of arguments (…).
* **urls.E008**: The custom ``handlerXXX`` view ``'path.to.view'`` could not be
imported.
``contrib`` app checks
======================