@@ -65,7 +65,10 @@ from ..common.responses import BadRequestResponse, ForbiddenResponse
...
@@ -65,7 +65,10 @@ from ..common.responses import BadRequestResponse, ForbiddenResponse
importdatetime
importdatetime
importre
importre
fromurlparseimporturlparse
try:
fromurlparseimporturlparse
exceptImportError:
fromurllib.parseimporturlparse
importsimplejsonasjson
importsimplejsonasjson
...
@@ -99,7 +102,7 @@ class SupervisorListView(generics.ListAPIView):
...
@@ -99,7 +102,7 @@ class SupervisorListView(generics.ListAPIView):
#On all cases check the current key in supervisee profile match the supervisiontrack key as this is the current supervision request/track from the supervisee
#On all cases check the current key in supervisee profile match the supervisiontrack key as this is the current supervision request/track from the supervisee