Not all pages call the csrf token template function so django does not bother to send it, this means that all subsequent ajax calls fail unless they are marked as csrf exempt. "Warning If your view is not rendering a template containing the csrf_token template tag, Django might not set the CSRF token cookie. This is common in cases where forms are dynamically added to the page. To address this case, Django provides a view decorator which forces setting of the cookie: ensure_csrf_cookie(). " https://docs.djangoproject.com/en/1.8/ref/csrf/#ajax I think we should add the function call to the base template to make sure that the token is sent, alternative we will need to decorate the views affected.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=55f13d45561f0e14e38bb79203404a06bb91786b
Verified on master: db92bc23880794be77373b0f2d8c26279dcecb84