изменение в testlistcreate
This commit is contained in:
1 parent
d7dd39ec88
commit
e19773eccb
1 file changed
-1
@@ -41,7 +41,6 @@ class TestListCreate(generics.ListCreateAPIView):
|
||||
|
||||
def get(self, request):
|
||||
user = request.user
|
||||
user = User.objects.get(username='9966-00-125')
|
||||
now = datetime.now()
|
||||
status = request.query_params.get('status')
|
||||
tests = self.get_tests_by_status(status, now)
|
||||
|
||||
Reference in new issue
Block a user