This commit is contained in:
SBD
2023-11-26 19:16:34 +03:00
parent 24c70bbb88
commit 1ba7b48ad8
2 changed files with 3 additions and 3 deletions

View File

@@ -34,8 +34,8 @@ function renderContent () {
cache: false,
processData: false,
// contentType: false,
// enctype: 'json',
// contentType: "application/json; charset=utf-8",
enctype: 'json',
contentType: "application/json; charset=utf-8",
data: JSON.stringify(data),
success: function(data){
document.querySelector(".content").innerHTML = data.html

View File

@@ -13,7 +13,7 @@
</head>
<body>
{% csrf_token %}
{# {% csrf_token %}#}
{% include "blocks/static/header.html" %}
<div class="content">
{% block CONTENT %}