17 lines
410 B
Python
17 lines
410 B
Python
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))
|