Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
startsev2000 committed Sep 19, 2024
1 parent 70c8d4d commit 3b509d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion back-end/src/lms/views/students.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ def registration(self, request):
serializer = self.get_serializer(instance)
return Response(serializer.data)

@action(detail=False, methods=["post"], permission_classes=[permissions.IsAdminUser])
@action(
detail=False, methods=["post"], permission_classes=[permissions.IsAdminUser]
)
def register_from_applicant(self, request):
request.data[
"status"
Expand Down

0 comments on commit 3b509d1

Please sign in to comment.