Update polls/view.index
Browse files- Dockerfile +1 -1
- app/polls/views.py +1 -1
Dockerfile
CHANGED
|
@@ -3,7 +3,7 @@ FROM debian:12.10
|
|
| 3 |
|
| 4 |
# Instalar Python y venv para entornos virtuales
|
| 5 |
RUN apt -y update
|
| 6 |
-
RUN apt install -y python3 python3-pip python3-django
|
| 7 |
|
| 8 |
#RUN python3 -m django --version [3.2.19]
|
| 9 |
|
|
|
|
| 3 |
|
| 4 |
# Instalar Python y venv para entornos virtuales
|
| 5 |
RUN apt -y update
|
| 6 |
+
RUN apt install -y python3 python3-pip python3-django sqlite3
|
| 7 |
|
| 8 |
#RUN python3 -m django --version [3.2.19]
|
| 9 |
|
app/polls/views.py
CHANGED
|
@@ -2,4 +2,4 @@ from django.http import HttpResponse
|
|
| 2 |
|
| 3 |
|
| 4 |
def index(request):
|
| 5 |
-
return HttpResponse("Hello, world. You're at the polls index.")
|
|
|
|
| 2 |
|
| 3 |
|
| 4 |
def index(request):
|
| 5 |
+
return HttpResponse("Hello, world. You're at the polls index. <img src='https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRnRW9QBrkTtPqVAKYbrk93NtSJzt10_fqdrw&s' alt='perritos'/>")
|