Skip to content

Commit

Permalink
Accept any args or kwargs in the 404 view
Browse files Browse the repository at this point in the history
Should fix using that view for feeds when we need
to turn them off.
  • Loading branch information
pmac committed May 19, 2018
1 parent 98abe15 commit d55be1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kitsune/sumo/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def handle403(request):
status=403)


def handle404(request):
def handle404(request, *args, **kwargs):
"""A handler for 404s"""
return render(request, 'handlers/404.html', status=404)

Expand Down

0 comments on commit d55be1a

Please sign in to comment.