f272d9136d
Proposed patch correctly passes CSRF token to Angular application with CSRF_COOKIE_HTTPONLY config option turned on. Also, minor release note warning fixed Change-Id: Iec90643078dcf3ed4ad786ecc21bfb067a242c6d Closes-bug: #1819423
19 lines
358 B
HTML
19 lines
358 B
HTML
{% extends 'base.html' %}
|
|
{% load i18n %}
|
|
{% block title %}{{ title }}{% endblock %}
|
|
|
|
{% block page_header %}
|
|
{% endblock %}
|
|
|
|
{% block ng_route_base %}
|
|
<base href="{{ WEBROOT }}">
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
{% if csrf_http %}
|
|
{% csrf_token %}
|
|
{% endif %}
|
|
<div ng-view></div>
|
|
<ngdetails routed-by-django="{{ routed_by_django }}">
|
|
{% endblock %}
|