Celestino Rey 10 months ago
parent
commit
0de4eae900
3 changed files with 2 additions and 2 deletions
  1. +1
    -0
      mysite/settings.py
  2. +0
    -1
      polls/urls.py
  3. +1
    -1
      polls/views.py

+ 1
- 0
mysite/settings.py View File

@ -19,6 +19,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/5.1/howto/deployment/checklist/
#
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure-5@k8%e-(*v+8nb1)dvie3_$$ol=3747i)x^n3%j9pg@9j$=b)_'


+ 0
- 1
polls/urls.py View File

@ -5,5 +5,4 @@ from . import views
urlpatterns = [
path("", views.index, name="index"),
path('entorno/', views.ver_variables_entorno, name='ver_variables_entorno'),
]

+ 1
- 1
polls/views.py View File

@ -2,7 +2,7 @@ from django.http import HttpResponse
def index(request):
return HttpResponse("¡Hola, mundo. Estamos en la vista index. Y he hecho un cambio")
return HttpResponse("¡Hola, mundo. Estamos en la vista index. Y he hecho un cambio. A ver si funciona")
def ver_variables_entorno(request):
# Variables a excluir por motivos de seguridad


Loading…
Cancel
Save