Skip to content

Commit d9e504c

Browse files
authored
Merge pull request #94 from macagua/2025_upgrades
2025 upgrades
2 parents db3e40d + b93a5e3 commit d9e504c

File tree

7 files changed

+16
-8
lines changed

7 files changed

+16
-8
lines changed

recursos/leccion1/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ charset-normalizer==3.4.1
66
click==8.1.8
77
cookiecutter==2.6.0
88
idna==3.10
9-
Jinja2==3.1.5
9+
Jinja2==3.1.6
1010
markdown-it-py==3.0.0
1111
MarkupSafe==3.0.2
1212
mdurl==0.1.2

recursos/leccion2/zodb/crud/zodb_record_read.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,14 @@ def consultar_registro():
2626
logging.info(
2727
f"✅ ¡Conectado a la base de datos {os.path.basename(DB_FILE.getName())}!\n"
2828
)
29+
# Mostrar los nodos de la DB
2930
print("Todos los registros: ")
31+
# Mostrar los elementos de nodos
3032
print(nodo.items())
33+
# Mostrar los valores de nodos
3134
print("Todos los valores: ")
3235
print(nodo.values())
36+
# Mostrar el nodo 'producto1'
3337
if "producto1" in nodo.items():
3438
print("Producto: ", nodo["producto1"])
3539
print(f"\tId: {nodo['producto1'].id}")

source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,10 @@
582582
"https://entrenamiento-python-avanzado.readthedocs.io/es/latest/",
583583
None,
584584
),
585+
"entrenamiento-frameworks-web-python": (
586+
"https://entrenamiento-frameworks-web-python.readthedocs.io/es/latest/",
587+
None,
588+
),
585589
"entrenamiento-data-scientist-python": (
586590
"https://entrenamiento-data-scientist-python.readthedocs.io/",
587591
None,

source/leccion1/entorno_desarrollo.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Si ejecuto el comando anterior, debería mostrar algo parecido al siguiente mens
192192
click==8.1.8
193193
cookiecutter==2.6.0
194194
idna==3.10
195-
Jinja2==3.1.5
195+
Jinja2==3.1.6
196196
markdown-it-py==3.0.0
197197
MarkupSafe==3.0.2
198198
mdurl==0.1.2

source/leccion2/base_datos_relacional.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Si requiere consultar registros de tabla, a continuación tiene un ejemplo:
6767
.. literalinclude:: ../../recursos/leccion2/sistema/sistema_data.sql
6868
:language: sql
6969
:linenos:
70-
:lines: 10-11
70+
:lines: 10-12
7171

7272

7373
.. _python_base_actualizar_registro:
@@ -80,7 +80,7 @@ Si requiere actualizar registro de tabla, a continuación tiene un ejemplo:
8080
.. literalinclude:: ../../recursos/leccion2/sistema/sistema_data.sql
8181
:language: sql
8282
:linenos:
83-
:lines: 14-15
83+
:lines: 15-16
8484

8585

8686
.. _python_base_eliminar_registro:
@@ -93,7 +93,7 @@ Si requiere eliminar registro de tabla, a continuación tiene un ejemplo:
9393
.. literalinclude:: ../../recursos/leccion2/sistema/sistema_data.sql
9494
:language: sql
9595
:linenos:
96-
:lines: 20-21
96+
:lines: 21-22
9797

9898

9999
Asi de esta forma puede crear una tabla, ingresar, consultar, actualizar y eliminar

source/leccion2/dbapi.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,8 @@ Las librerías de bases de datos relacionales más populares son:
396396
.. _`JDBC`: https://es.wikipedia.org/wiki/Java_Database_Connectivity
397397
.. _`ODBC`: https://es.wikipedia.org/wiki/Open_Database_Connectivity
398398
.. _`NoSQL`: https://es.wikipedia.org/wiki/NoSQL
399-
.. _`with`: https://entrenamiento-python-basico.readthedocs.io/es/3.7/leccion9/errores.html#sentencia-with
400-
.. _`Exception`: https://entrenamiento-python-basico.readthedocs.io/es/3.7/leccion9/exceptions.html#python-exception
399+
.. _`with`: https://entrenamiento-python-basico.readthedocs.io/es/3.11/leccion9/errores.html#sentencia-with
400+
.. _`Exception`: https://entrenamiento-python-basico.readthedocs.io/es/3.11/leccion9/exceptions.html#python-exception
401401
.. _`DML`: https://es.wikipedia.org/wiki/Lenguaje_de_manipulaci%C3%B3n_de_datos
402402
.. _`The Novice’s Guide to the Python 3 DB-API`: https://philvarner.github.io/pages/novice-python3-db-api.html
403403
.. _`Acceso A Bases De Datos Desde Python - Interfaz Db-Api`: https://wiki.python.org.ar/dbapi/

source/leccion2/zodb.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ Si requiere consultar registros de tabla, a continuación tiene un ejemplo:
502502
.. literalinclude:: ../../recursos/leccion2/zodb/crud/zodb_record_read.py
503503
:language: python
504504
:linenos:
505-
:lines: 1-51
505+
:lines: 1-55
506506

507507

508508
----

0 commit comments

Comments
 (0)