refactoring
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
pierre geeraert
2026-06-11 19:51:19 +01:00
parent 3079df9072
commit c86301c9b2
382 changed files with 50 additions and 83 deletions
+4 -4
View File
@@ -38,11 +38,11 @@ destination_folder = "/stash/"
def hello(request):
return HttpResponse('<h1>Hello stash!</h1>')
def form(request):
return render(request, 'stash_form.html',{})
return render(request, 'stash/stash_form.html',{})
def album(request):
return render(request, 'album_form.html',{})
return render(request, 'stash/album_form.html',{})
def simple(request):
return render(request, 'simple_form.html',{})
return render(request, 'stash/simple_form.html',{})
def check_and_create_destination_folder(name):
#check if the output directory exist and create if not
if not os.path.isdir(destination_folder):
@@ -179,7 +179,7 @@ def redgif_donloader(username):
#and you get the URLS , needs to be parsedw
return 0
def incremental(request):
return render(request, 'incremental_form.html',{})
return render(request, 'stash/incremental_form.html',{})
def incremental_form(request):
name = request.GET.get('name')