diff options
| author | Alasdair Nicol <alasdair@thenicols.net> | 2019-04-04 00:17:25 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-04-25 11:38:35 +0200 |
| commit | 3c3df7db8e5ce7882d6a8379fc2d0f82330114f1 (patch) | |
| tree | fa3a3533bd412af7980ee2dc3586ba8fc1914def /docs | |
| parent | f24cf51661af21cfe2d90d7cba6557c56778ef20 (diff) | |
[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 a5accc0368c6575b55976c06af36ed399c85c781 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/checks.txt | 2 | ||||
| -rw-r--r-- | docs/releases/2.2.1.txt | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 6ec3028c35..9d48138076 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -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 ====================== diff --git a/docs/releases/2.2.1.txt b/docs/releases/2.2.1.txt index 48cbfb3a8f..0ca76bcbf8 100644 --- a/docs/releases/2.2.1.txt +++ b/docs/releases/2.2.1.txt @@ -46,3 +46,6 @@ Bugfixes * Fixed a regression in Django 2.2 where :class:`~django.contrib.postgres.search.SearchVector` generates SQL that is not indexable (:ticket:`30385`). + +* Fixed a regression in Django 2.2 that caused an exception to be raised when + a custom error handler could not be imported (:ticket:`30318`). |
