Commit 151496b8 authored by John Red Medrano's avatar John Red Medrano

{dev bugfix} remove exclude

parent 9c432f5c
...@@ -115,7 +115,7 @@ class rms: ...@@ -115,7 +115,7 @@ class rms:
) )
is_excel_code_exist = self.queryset.filter( is_excel_code_exist = self.queryset.filter(
excel_code=payload['excel_code'] excel_code=payload['excel_code']
).exclude(code=self.kwargs['code']) )
if request.method.lower() == 'put': if request.method.lower() == 'put':
is_excel_code_exist = is_excel_code_exist.exclude( is_excel_code_exist = is_excel_code_exist.exclude(
code=self.kwargs['code'] code=self.kwargs['code']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment