Commit c1d94f2b authored by Daniel Klaffenbach's avatar Daniel Klaffenbach 🐍

views: Update signature of error-handling views

Required for Django 2.2+ compat

Closes #13
parent e0913a2b
......@@ -30,9 +30,9 @@ def change_language(request, **kwargs):
return render(request, template, {'form': form, 'current': cur_language})
def handle_403(request, **kwargs):
def handle_403(request, *args, **kwargs):
return render(request, 'tuc2014/403.html', status=403)
def handle_404(request, **kwargs):
def handle_404(request, *args, **kwargs):
return render(request, 'tuc2014/404.html', status=404)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment