is_active test
This commit is contained in:
1 parent
7ae3dbd5b3
commit
c2cfdbbd2a
2 files changed
+12
No files matched your search
@@ -263,6 +263,7 @@ class TestingView(generics.ListCreateAPIView):
|
||||
return Response({"status": "error", "message": str(e)}, status=400)
|
||||
|
||||
def put(self, request):
|
||||
"""when removing testing from an employee"""
|
||||
testing_id = request.data.get("id")
|
||||
try:
|
||||
testing = Testing.objects.get(id=testing_id)
|
||||
|
||||
Reference in new issue
Block a user