Skip to content

Commit 7aa55ef

Browse files
Ryan Ginstromagjohnson
Ryan Ginstrom
authored andcommitted
Fix deprecated call to render() in footer_views.py (#3048)
1 parent e5652c1 commit 7aa55ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readthedocs/restapi/views/footer_views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ def footer_html(request):
121121
'theme': theme,
122122
}
123123

124-
request_context = RequestContext(request, context)
125-
html = template_loader.get_template('restapi/footer.html').render(request_context)
124+
html = template_loader.get_template('restapi/footer.html').render(context,
125+
request)
126126
resp_data = {
127127
'html': html,
128128
'version_active': version.active,

0 commit comments

Comments
 (0)