изменение в testlistcreate
This commit is contained in:
1 parent
a32731c422
commit
9be6cc3e76
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