← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1395270] Re: POST instantiation for Django-Angular

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => kilo-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1395270

Title:
  POST instantiation for Django-Angular

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  We currently need to include a CSRF token in our form if we want to
  POST to a Django view. Furthermore, we need to change the content-type
  to 'application/x-www-form-urlencoded' before we can POST. This is
  cumbersome and should really be a global setting.

  http://www.daveoncode.com/2013/10/17/how-to-make-angularjs-and-django-play-nice-together/
  http://django-angular.readthedocs.org/en/latest/csrf-protection.html?highlight=post#set-header-with-x-csrftoken-via-cookie
  for more details.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1395270/+subscriptions


References