new version with the scale Up option
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 59s

This commit is contained in:
2024-11-06 11:09:52 +00:00
parent ceaf0f0ef6
commit 80877663a9
11 changed files with 516328 additions and 5 deletions
Binary file not shown.
+20 -3
View File
@@ -2,9 +2,26 @@ from django.apps import AppConfig
from django.http import HttpResponse
from django.shortcuts import render
from django.shortcuts import redirect
import time
import random
#from django.template.loader import render_to_string
from django.template import loader
#import time
#import random
def hello(request):
return HttpResponse('<h1>Hello onenote! <h1>')
# htmlContent = '
#<!DOCTYPE html>
#<html lang="en">
#<body>
#<strong>Hello World from const</strong>
#</body>
#</html>
#'
# response = "coucou"
# context = {'response': HttpResponse(response)}
# return HttpResponse(htmlContent)
# return HttpResponse('<h1>Hello onenote! <h1>')
# return render(request, 'hello.html', context)
template = loader.get_template('onenote/hello.html')
# template = loader.get_template('onenote/Roser.mht')
return HttpResponse(template.render())
+6
View File
@@ -0,0 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<body>
<strong>Hello World</strong>
</body>
</html>