Handle *args and **kwargs on view
We are setting this view as handler404 on tests,
this view expects an extra arg (exception)
(not sure why it worked before)
@@ -151,7 +151,7 @@ class ServeDocs(SettingsOverrideObject):
class ServeError404Base(ServeRedirectMixin, ServeDocsMixin, View):
- def get(self, request, proxito_path, template_name='404.html'):
+ def get(self, request, proxito_path, *args, template_name='404.html', **kwargs):
"""
Handler for 404 pages on subdomains.
