removing print function
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
pierre geeraert
2026-06-11 20:16:07 +01:00
parent dd3b0b7731
commit 57d7e8feee
3 changed files with 8 additions and 4 deletions
+4 -2
View File
@@ -4,6 +4,8 @@ from django.shortcuts import render
import os
import psycopg2
from apps.cloudmanager.db_interaction import DB_generation,Check_server_supposed_XXX,Give_current_weekday,Give_current_hour
#from apps.database_interaction.apps import return_hello
from apps.stash_management.apps import return_hello
def hello(request):
list_schedule = ['schedule1','schedule2']
@@ -11,8 +13,8 @@ def hello(request):
return render(request, 'cloudmanager/index.html', {'list_schedule':list_schedule,'list_servers_up':list_servers_up})
def print(request):
print("Im here")
return 0
return HttpResponse(return_hello())
def redirect(request):
db_host = os.environ.get('DB_HOST')
db_port = os.environ.get('DB_PORT')