]> git.ipfire.org Git - thirdparty/patchwork.git/commit
views: Use context dictionaries in 'pwclient'
authorStephen Finucane <stephen.finucane@intel.com>
Tue, 15 Mar 2016 22:05:33 +0000 (22:05 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Fri, 25 Mar 2016 11:24:45 +0000 (11:24 +0000)
commitf2a172e86980512f2e050bfdb8fa423e7764bf2a
treec668c293615e11c6ee350d17d99004e3e8e5eaf9
parentf825bb189eb4fb60f5a24d1bfbcbd30f4035653f
views: Use context dictionaries in 'pwclient'

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 a combo of 'response.write'
and 'render_to_string'.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Tested-by: Andy Doan <andy.doan@linaro.org>
patchwork/views/pwclient.py