device assignment bug-assignment information-bug of organizations list for assignment
This commit is contained in:
7
apps/pos_device/exceptions.py
Normal file
7
apps/pos_device/exceptions.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from rest_framework.exceptions import APIException
|
||||
from rest_framework import status
|
||||
|
||||
|
||||
class DeviceAlreadyAssigned(APIException):
|
||||
status_code = status.HTTP_403_FORBIDDEN
|
||||
default_detail = "این دستگاه قبلا به این کلاینت تخصیص داده شده است" # noqa
|
||||
Reference in New Issue
Block a user