Skip to content

Commit d7bf7f1

Browse files
stsewdhumitos
authored andcommitted
Put back template_name on proxito 404 view
We are overriding it on .com, it probably isn't necessary since we aren't using it in the view, but I'm adding it back just for sake of deploy.
1 parent f348f13 commit d7bf7f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readthedocs/proxito/views/serve.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,8 @@ class ServeError404Base(CDNCacheControlMixin, ServeRedirectMixin, ServeDocsMixin
472472
This view is called by an internal nginx redirect when there is a 404.
473473
"""
474474

475-
def get(self, request, proxito_path):
475+
# pylint: disable=unused-argument
476+
def get(self, request, proxito_path, template_name="404.html"):
476477
"""
477478
Handler for 404 pages on subdomains.
478479

0 commit comments

Comments
 (0)