change the DB settings and change the policy to restart after build
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5m27s

This commit is contained in:
pierre geeraert
2025-06-22 19:24:22 +01:00
parent 5bbe4c5c61
commit 3315fbdb4f
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -67,7 +67,11 @@ def download_mo(request,file):
#return HttpResponse('<h1>Hello !</h1>')
def simpsons(request):
generated_db = DB_generation("192.168.88.50",32345, "django_username", "Suffrage-Moneybags-Illusion7","django")
#dev settings
#generated_db = DB_generation("192.168.88.50",32345, "django_username", "Suffrage-Moneybags-Illusion7","django")
#production settings
generated_db = DB_generation("django-db-svc",5432, "django_username", "Suffrage-Moneybags-Illusion7","django")
cursor = generated_db.cursor()
#get max number of season