fixed merge conflict

This commit is contained in:
Danhia 2022-02-17 23:59:21 +01:00
commit 06593b26f9
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,6 @@ from secrets import token_hex
from accounts.models import UserProfileInfo
from django.contrib.auth.models import timezone
import os
from . import connection
@ -155,6 +154,7 @@ def profile(request, user_name):
return render(request,'accounts/profile.html', {'user':user_obj, 'solves':solves,'solved':solved,'catsDatas': catsDatas, 'pointDatas': pointDatas,
'rank': rank, 'score' : somme, 'member' : member, 'cats':cats})
<<<<<<< HEAD
@login_required
def delete_account(request):
@ -182,4 +182,4 @@ def rank(request, token):
break
rank += 1
data = {"rank": rank}
return JsonResponse(data)
return JsonResponse(data)