Skip to content

Commit f6722aa

Browse files
committed
Actualizar practica de crud con Flask
1 parent 5437aea commit f6722aa

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

source/leccion6/crud_app.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,14 @@ Crear entorno virtual Python en directorio ``$HOME`` con el
4242
siguiente comando:
4343

4444
::
45-
45+
4646
$ virtualenv --python=/usr/bin/python3 venv
4747

4848

4949
Activarlo entorno virtual Python creado con el siguiente comando:
50-
50+
51+
::
52+
5153
$ source ~/venv/bin/activate
5254

5355

@@ -75,7 +77,7 @@ Cree modulo Python llamado :file:`bookmanager.py` dentro del
7577
directorio :file:`~/projects/flask-crud-app`, con el siguiente comando:
7678

7779
::
78-
80+
7981
$ nano ~/projects/flask-crud-app/bookmanager.py
8082

8183
Agregue el siguiente contenido al archivo :file:`~/projects/flask-crud-app/bookmanager.py`.
@@ -89,8 +91,8 @@ Cree plantilla HTML llamado :file:`home.html` dentro del directorio
8991
:file:`~/projects/flask-crud-app/templates`, con el siguiente comando:
9092

9193
::
92-
93-
$ nano ~/projects/flask-crud-app/bookmanager.py
94+
95+
$ nano ~/projects/flask-crud-app/templates/home.html
9496

9597
Agregue el siguiente contenido al archivo :file:`~/projects/flask-crud-app/templates/home.html`.
9698

0 commit comments

Comments
 (0)