0.0.4
This commit is contained in:
@@ -33,8 +33,9 @@ function renderContent () {
|
|||||||
// async: true,
|
// async: true,
|
||||||
cache: false,
|
cache: false,
|
||||||
processData: false,
|
processData: false,
|
||||||
contentType: false,
|
// contentType: false,
|
||||||
// enctype: 'json',
|
// enctype: 'json',
|
||||||
|
// contentType: "application/json; charset=utf-8",
|
||||||
data: JSON.stringify(data),
|
data: JSON.stringify(data),
|
||||||
success: function(data){
|
success: function(data){
|
||||||
document.querySelector(".content").innerHTML = data.html
|
document.querySelector(".content").innerHTML = data.html
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
{% csrf_token %}
|
||||||
{% include "blocks/static/header.html" %}
|
{% include "blocks/static/header.html" %}
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{% block CONTENT %}
|
{% block CONTENT %}
|
||||||
|
|||||||
Reference in New Issue
Block a user