Bonjour,

J'ai pas fait des requêtes, et je dois les récupérer dans des champs input je ne
sais pas comment le faire

J'ai fait cela:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<table class="zebra-strip">
       <thead>       
            <tr>
                <th>Variable</th>
                <th>Jour j</th>
                <th>Jour j-1</th>
                <th>Difference</th>
                <th>Indicateur</th>       
            </tr>
        </thead>
 
          <tbody>  
              {% for a in affaires %}
                <tr>
                  <td> Type de Societe: </td>
                  <td>{{ a.designation|length}}</td> 
                  <td>{{ a.codePostal|length }}</td>
                  <td>{{ a.ville|length }}</td>
                  <td>{{ a.agenceCode|length }}</td>
                  <td>{{ a.segmentDevId|length }}</td> 
                  <td>{{ a.clientId|length }}</td> 
                  <td>{{ a.titulaireId|length }}</td> 
                  <td>{{ a.adresse1|length }}</td> 
                </tr>
 
              {% endfor %}
 
        </tbody>
</table>
mais chose bizarre il n'entre jamais dans la boucle.

J'ai besoin de votre aide, je vous remercie d'avance.