add django_code_new just in case before removing it

This commit is contained in:
2024-10-29 23:15:37 +00:00
parent a4a704305a
commit 1cb49c3127
40 changed files with 413 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
from django.apps import AppConfig
from django.http import HttpResponse
from django.shortcuts import render
from django.shortcuts import redirect
import time
import random
def hello(request):
return HttpResponse('<h1>Hello paperless! <h1>')
def redirect_authenticated(request):
final_url = "https://paperless.tryton.geeraert.eu/"
print(final_url)
return redirect(str(final_url))