fix merge

This commit is contained in:
CHIBOUB Chakib 2024-07-31 15:33:55 +02:00
parent 1a392332a3
commit 78965de13d

View File

@ -2,12 +2,9 @@
from django.shortcuts import render
<<<<<<< HEAD
def index(request):
return render(request, 'index.html')
=======
>>>>>>> f31331d344927dfd9bca940943bdba9a4d79a2b4
from django.core.exceptions import ObjectDoesNotExist
from .models import Player, Tournoi, Match
from .utils import create_player, create_tournoi, create_match
@ -18,11 +15,6 @@ from django.views.decorators.csrf import csrf_exempt
import json
import uuid
def index(request):
return render(request, 'index.html')
@csrf_exempt
def register_user(request):
if request.method == 'POST':