Corrección importación CSV, robustez en restore_feeds y scripts de instalación para PostgreSQL
This commit is contained in:
parent
72dd972352
commit
0442d3fc0e
6 changed files with 119 additions and 68 deletions
|
|
@ -10,7 +10,11 @@
|
|||
</form>
|
||||
{% if msg %}
|
||||
<div style="margin:15px 0;">
|
||||
<strong>{{ msg }}</strong>
|
||||
{% if "Error" in msg or "Error en fila" in msg %}
|
||||
<div style="color:#c00; font-weight:bold;">{{ msg|safe }}</div>
|
||||
{% else %}
|
||||
<div style="color:#198754; font-weight:bold;">{{ msg|safe }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<p style="font-size:0.92em;color:#64748b;">
|
||||
|
|
@ -18,9 +22,12 @@
|
|||
<code>id, nombre, [descripcion,] url, categoria_id, categoria, pais_id, pais, idioma, activo, fallos</code><br>
|
||||
<small>
|
||||
Las columnas <b>descripcion</b> e <b>idioma</b> son opcionales.<br>
|
||||
<b>idioma</b> debe ser el código ISO 639-1 de dos letras (ej: es, en, fr...).
|
||||
<b>activo</b> puede ser: <code>True</code>, <code>False</code>, <code>1</code> o <code>0</code>.<br>
|
||||
<b>idioma</b> debe ser el código ISO 639-1 de dos letras (<i>ej:</i> <code>es</code>, <code>en</code>, <code>fr</code>...).<br>
|
||||
Si falta alguna columna, la restauración puede fallar o ignorar ese campo.
|
||||
</small>
|
||||
</p>
|
||||
</div>
|
||||
<a href="/feeds" class="top-link">← Volver a feeds</a>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue