🔥 update python to remove the sleep

This commit is contained in:
2024-07-23 18:41:25 +01:00
parent b0d7329a0d
commit 074789a155
8 changed files with 3 additions and 1 deletions
+2
View File
@@ -25,7 +25,9 @@ urlpatterns = [
# path('bookstack/', docker_connection.apps.hello), # path('bookstack/', docker_connection.apps.hello),
# path('test/', docker_connection.apps.http_call_test), # path('test/', docker_connection.apps.http_call_test),
# path('proxmox/', docker_connection.apps.proxmox), # path('proxmox/', docker_connection.apps.proxmox),
# path('simpsons/', random_simpsons.hello),
path('simpsons/', random_simpsons.simpsons), path('simpsons/', random_simpsons.simpsons),
# path('docker/<str:action>/<str:id_docker>', docker_connection.apps.docker_call), # path('docker/<str:action>/<str:id_docker>', docker_connection.apps.docker_call),
+1 -1
View File
@@ -30,5 +30,5 @@ def simpsons(request):
print(final_url) print(final_url)
# return HttpResponse(str(final_url)) # return HttpResponse(str(final_url))
time.sleep(10) # time.sleep(10)
return redirect(str(final_url)) return redirect(str(final_url))