django-jinja icon indicating copy to clipboard operation
django-jinja copied to clipboard

Django 2.2.3, custom handler500 broken

Open Yobmod opened this issue 6 years ago • 1 comments
trafficstars

Hi,

Updating to Django2.2.x from 2.1.10 caused an error with the handler500.

in urls.py:

handler500 = views.ServerError.as_view()

used to work fine. Now with 2.2.3, its giving:

ERRORS:
?: (urls.E007) The custom handler500 view 'django_jinja.views.ServerError' does not take the correct number of arguments (request).

It just needs the request passing to it? But where from?

Thanks

Yobmod avatar Jul 17 '19 16:07 Yobmod

Hi, I have the same problem. Is there a fix for this?

amitjindal avatar Mar 29 '20 13:03 amitjindal