issue resolved
This commit is contained in:
parent
f05e01c092
commit
8e0d23cc33
|
@ -102,7 +102,7 @@ def deleteResume(request, id, email, user_type):
|
||||||
|
|
||||||
destination_path = STORAGE_DESTINATION_RESUMES + id + "/" + str(file_name)
|
destination_path = STORAGE_DESTINATION_RESUMES + id + "/" + str(file_name)
|
||||||
if path.exists(destination_path):
|
if path.exists(destination_path):
|
||||||
#remove(destination_path)
|
# remove(destination_path)
|
||||||
student.resumes.remove(file_name)
|
student.resumes.remove(file_name)
|
||||||
student.save()
|
student.save()
|
||||||
return Response({'action': "Delete Resume", 'message': "Resume Deleted"},
|
return Response({'action': "Delete Resume", 'message': "Resume Deleted"},
|
||||||
|
|
Loading…
Reference in New Issue