[PKG-Openstack-devel] Bug#862387: openstack-dashboard: instance delete fails with: 403 Forbidden - CSRF verification failed. Request aborted.

Valentin Vidic Valentin.Vidic at CARNet.hr
Mon May 22 12:28:56 UTC 2017


On Thu, May 18, 2017 at 05:14:10PM +0200, Thomas Goirand wrote:
> FYI, I worked together with upstream during all of last summer to
> somehow gain Django 1.10 compatibility. There was loads of issues, which
> were fixed one by one. I guess this bug means we didn't fixed them all.
> 
> If you're good enough with Django, we'd be very happy to add the patch
> both upstream and in the Debian package. According to one of the
> upstream "leaders" on IRC:

Ok, I've got a patch that fixes the CSRF issue.  It seems to be a
template change in 1.10 described in the upgrade documentation[1].
Could you please review it?

[1] https://docs.djangoproject.com/en/1.11/ref/templates/upgrading/
Passing a Context or a RequestContext is still possible when the
template is loaded by a DjangoTemplates backend but it’s deprecated and
won’t be supported in Django 1.10.

-- 
Valentin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Context.patch
Type: text/x-diff
Size: 6888 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20170522/8d99d0cb/attachment.patch>


More information about the Openstack-devel mailing list