On met les balises "load" / "extends" dans l'ordre
Il faut que `{% extends ... %}` soit avant `{% load ... %}` dans les templates... Cette fois plus de bug sur les templates.
This commit is contained in:
parent
a3ab5cc781
commit
c5db003842
|
@ -1,5 +1,5 @@
|
|||
{% load staticfiles %}
|
||||
{% extends "base_title.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block extra_head %}
|
||||
<link type="text/css" rel="stylesheet" href="{% static "css/bda.css" %}" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load staticfiles %}
|
||||
{% extends "base_title.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block extra_head %}
|
||||
<link type="text/css" rel="stylesheet" href="{% static "css/bda.css" %}" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load staticfiles %}
|
||||
{% extends "base_title.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block extra_head %}
|
||||
<link type="text/css" rel="stylesheet" href="{% static "css/bda.css" %}" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load staticfiles %}
|
||||
{% extends "base_title.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block extra_head %}
|
||||
<link type="text/css" rel="stylesheet" href="{% static "css/bda.css" %}" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load staticfiles %}
|
||||
{% extends "base_title.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block extra_head %}
|
||||
<link type="text/css" rel="stylesheet" href="{% static "css/bda.css" %}" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load staticfiles %}
|
||||
{% extends "base_title.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block extra_head %}
|
||||
<link type="text/css" rel="stylesheet" href="{% static "css/bda.css" %}" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load staticfiles %}
|
||||
{% extends "base_title_petitscours.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block realcontent %}
|
||||
<h3>Demande de petits cours</h3>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load staticfiles %}
|
||||
{% extends "base_title.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block extra_head %}
|
||||
<link href="{% static "grappelli/jquery/ui/css/custom-theme/jquery-ui-1.8.custom.css" %}" rel="stylesheet" type="text/css" media="screen" title="no title" charset="utf-8" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load staticfiles %}
|
||||
{% extends "base_title_petitscours.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block realcontent %}
|
||||
<h3>Demandes de petits cours</h3>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load staticfiles %}
|
||||
{% extends "base_title.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block extra_head %}
|
||||
<script src="{% static "js/jquery.min.js" %}" type="text/javascript"></script>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% load staticfiles %}
|
||||
{% extends "base_title_petitscours.html" %}
|
||||
{% load staticfiles %}
|
||||
|
||||
{% block realcontent %}
|
||||
<h3>Traitement de la demande de petits cours {{ demande.id }}</h3>
|
||||
|
|
Loading…
Reference in a new issue