Browse Source

Añado template de entorno

main
Celestino Rey 10 months ago
parent
commit
d776ce901d
1 changed files with 39 additions and 0 deletions
  1. +39
    -0
      polls/templates/ver_entorno.html

+ 39
- 0
polls/templates/ver_entorno.html View File

@ -0,0 +1,39 @@
<h2>Variables de Entorno y Configuración</h2>
<p><strong>Nota:</strong> Asegúrate de que esta página solo esté accesible para administradores, ya que contiene información sensible.</p>
<h3>Variables de Entorno</h3>
<table class="table table-striped">
<thead>
<tr>
<th>Variable</th>
<th>Valor</th>
</tr>
</thead>
<tbody>
{% for key, value in entorno.items %}
<tr>
<td>{{ key }}</td>
<td>{{ value }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<h3>Variables de Configuración (settings.py)</h3>
<table class="table table-striped">
<thead>
<tr>
<th>Variable</th>
<th>Valor</th>
</tr>
</thead>
<tbody>
{% for key, value in configuracion.items %}
<tr>
<td>{{ key }}</td>
<td>{{ value }}</td>
</tr>
{% endfor %}
</tbody>
</table>

Loading…
Cancel
Save