Skip to content
Snippets Groups Projects
Commit 2932a79c authored by Milo Hivert's avatar Milo Hivert
Browse files

merge tiber

parent f399fba3
Branches
No related tags found
No related merge requests found
No preview for this file type
......@@ -10,7 +10,6 @@ import json
from django.core.mail import send_mail
import datetime
<<<<<<< HEAD
encrypt={'A': 'b', 'B': '7', 'C': 'U', 'D': 'f', 'E': '_', 'F': 'A', 'G': '1', 'H': 'V', 'I': 'r', 'J': 'p', 'K': 'X', 'L': 'i', 'M': 'L', 'N': 'h', 'O': 'B', 'P': '8', 'Q': '2', 'R': 'W', 'S': 'l', 'T': '.', 'U': 'E', 'V': 'D', 'W': 'u', 'X': '-', 'Y': 't', 'Z': 'Y', 'a': 'O', 'b': 'G', 'c': 'Z', 'd': 'K', 'e': 'q', 'f': '9', 'g': 'T', 'h': 'S', 'i': 'M', 'j': 'Q', 'k': 'R', 'l': 'n', 'm': 'z', 'n': 'I', 'o': 's', 'p': 'k', 'q': 'o', 'r': 'y', 's': '/', 't': 'c', 'u': 'N', 'v': 'J', 'w': 'x', 'x': 'd', 'y': 'H', 'z': 'C', '0': '4', '1': '6', '2': '+', '3': 'j', '4': 'm', '5': 'w', '6': 'g', '7': 'e', '8': 'a', '9': '5', '+': 'P', '/': '3', '.': 'v', '-': 'F', '_': '0'}
decrypt={'b': 'A', '7': 'B', 'U': 'C', 'f': 'D', '_': 'E', 'A': 'F', '1': 'G', 'V': 'H', 'r': 'I', 'p': 'J', 'X': 'K', 'i': 'L', 'L': 'M', 'h': 'N', 'B': 'O', '8': 'P', '2': 'Q', 'W': 'R', 'l': 'S', '.': 'T', 'E': 'U', 'D': 'V', 'u': 'W', '-': 'X', 't': 'Y', 'Y': 'Z', 'O': 'a', 'G': 'b', 'Z': 'c', 'K': 'd', 'q': 'e', '9': 'f', 'T': 'g', 'S': 'h', 'M': 'i', 'Q': 'j', 'R': 'k', 'n': 'l', 'z': 'm', 'I': 'n', 's': 'o', 'k': 'p', 'o': 'q', 'y': 'r', '/': 's', 'c': 't', 'N': 'u', 'J': 'v', 'x': 'w', 'd': 'x', 'H': 'y', 'C': 'z', '4': '0', '6': '1', '+': '2', 'j': '3', 'm': '4', 'w': '5', 'g': '6', 'e': '7', 'a': '8', '5': '9', 'P': '+', '3': '/', 'v': '.', 'F': '-', '0': '_'}
......@@ -28,11 +27,6 @@ def decryptmess(message):
mess=mess+decrypt[message[i]]
return mess
=======
def test(request):
commandes=commande_crepe.objects.all()
return render(request,'campagne/test.html',{'commandes':commandes})
>>>>>>> origin/tiber
def connexion(request):
return HttpResponseRedirect('https://auth.viarezo.fr/oauth/authorize/?redirect_uri=http://localhost:8000&client_id=2fe828e15647fc92437727b6646ce5c799c40991&response_type=code&state=sqdkfjhsqdkf&scope=default')
......
No preview for this file type
......@@ -35,6 +35,4 @@ urlpatterns = [
path('vip', views.vip, name='vip'),
path('intermediaire/', views.login, name="login"),
path('',views.login, name="login"),
path('test/',views.test),
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment