add field of activity organization - handle quota weight
This commit is contained in:
@@ -5,6 +5,6 @@ from rest_framework import status
|
||||
class QuotaWeightException(APIException):
|
||||
""" if quota distributions weight is more """
|
||||
|
||||
status_code = status.HTTP_401_UNAUTHORIZED
|
||||
default_detail = ''
|
||||
default_code = 'unauthorized'
|
||||
status_code = status.HTTP_400_BAD_REQUEST
|
||||
default_detail = "مقدار وارد شده باعث میشود مجموع سهمیهها از مقدار کل سهمیه بیشتر شود." # noqa
|
||||
default_code = 'error'
|
||||
|
||||
Reference in New Issue
Block a user