organization limit for quota - get org childs
This commit is contained in:
@@ -24,3 +24,14 @@ class QuotaExpiredTimeException(APIException):
|
||||
status_code = status.HTTP_400_BAD_REQUEST
|
||||
default_detail = "زمان مجوز این سهمیه به پایان رسیده است" # noqa
|
||||
default_code = 'error'
|
||||
|
||||
|
||||
class QuotaLimitByOrganizationException(APIException):
|
||||
"""
|
||||
if limitation of quota by organization is true,
|
||||
distribution should be done in organizations limits
|
||||
"""
|
||||
|
||||
status_code = status.HTTP_400_BAD_REQUEST
|
||||
default_detail = "سازمان انتخاب شده در بین سامان های انتخاب شده برای توزیع سهمیه وجود ندارد" # noqa
|
||||
default_code = 'error'
|
||||
|
||||
Reference in New Issue
Block a user