Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django 2.2.3, custom handler500 broken #234

Open
Yobmod opened this issue Jul 17, 2019 · 1 comment · May be fixed by #315
Open

Django 2.2.3, custom handler500 broken #234

Yobmod opened this issue Jul 17, 2019 · 1 comment · May be fixed by #315

Comments

@Yobmod
Copy link

Yobmod commented Jul 17, 2019

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

@amitjindal
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants