From: Stephen Finucane Date: Tue, 15 Mar 2016 21:17:22 +0000 (+0000) Subject: views: Use context dictionaries in 'project' X-Git-Tag: v2.0.0-rc1~404 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d820ac4e9a9ce8474c7b36ba0a59808f2f5c2a51;p=thirdparty%2Fpatchwork.git views: Use context dictionaries in 'project' Remove the use of PatchworkRequestContext in this view as it is not required and causes a 'RemovedInDjango110Warning' warning. This requires the use of 'render', rather than 'render_to_response'. Signed-off-by: Stephen Finucane Tested-by: Andy Doan --- diff --git a/patchwork/templates/patchwork/project.html b/patchwork/templates/patchwork/project.html index 28c8da31..ffea25ef 100644 --- a/patchwork/templates/patchwork/project.html +++ b/patchwork/templates/patchwork/project.html @@ -49,7 +49,7 @@ {% endif %} -{% if settings.ENABLE_XMLRPC %} +{% if enable_xmlrpc %}

Sample patchwork client configuration for this project: