From 577edc0c1040acc479f5018aaa79562b049fce10 Mon Sep 17 00:00:00 2001 From: wrmswindmill Date: Thu, 4 Jul 2019 12:08:04 +0800 Subject: [PATCH] remove redis rank temp --- apps/projects/views.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/projects/views.py b/apps/projects/views.py index 9b965ac..15b344a 100644 --- a/apps/projects/views.py +++ b/apps/projects/views.py @@ -206,7 +206,6 @@ class ProjectInfoView(View): class ProjectSourceView(View): def login_educoder(self,educoder_userid,request): - print("educoder_id"+str(educoder_userid)) private_token = "hriEn3UwXfJs3PmyXnSG" userinfo_url = "http://www.educoder.net/api/v1/sources/"+str(educoder_userid)+"/get_user_info?private_token="+private_token response = requests.get(userinfo_url) @@ -240,13 +239,11 @@ class ProjectSourceView(View): def get(self, request, name, path): educoder_userid = request.GET.get("eid","") - print(educoder_userid) if educoder_userid!="" and educoder_userid!="2": self.login_educoder(educoder_userid,request) name = name.split("?")[0] path = path.split("?")[0] project = Project.objects.filter(name=name).first() - print(project.name) if project.is_open: return render(request, 'projects/source.html', locals()) else: