challenges_created #56

Merged
Starthur merged 2 commits from challenges_created into main 2022-05-27 16:56:57 +02:00
1 changed files with 0 additions and 1 deletions
Showing only changes of commit 9d3b9ebf5f - Show all commits

View File

@ -152,7 +152,6 @@ def profile(request, user_name):
somme += s.ctf.points somme += s.ctf.points
solved.append([s.flag_date.timestamp() * 1000,somme]) solved.append([s.flag_date.timestamp() * 1000,somme])
created = CTF.objects.filter(author=user_obj) created = CTF.objects.filter(author=user_obj)
print(created)
return render(request,'accounts/profile.html', {'user':user_obj, 'solves':solves,'solved':solved,'catsDatas': catsDatas, 'pointDatas': pointDatas, 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, 'created':created}) 'rank': rank, 'score' : somme, 'member' : member, 'cats':cats, 'created':created})