fix - quota exception in distribution limit & sale licence and visibility free by org
This commit is contained in:
@@ -38,7 +38,15 @@ class QuotaExpiredTimeException(APIException):
|
||||
"""if quota allowed time for distribute, sale, etc. is expired"""
|
||||
|
||||
status_code = status.HTTP_400_BAD_REQUEST
|
||||
default_detail = "زمان مجوز این سهمیه به پایان رسیده است" # noqa
|
||||
default_detail = "این سهمیه دارای محدودیت توزیع میباشد" # noqa
|
||||
default_code = 'error'
|
||||
|
||||
|
||||
class QuotaSaleTimeException(APIException):
|
||||
"""if quota allowed time for distribute, sale, etc. is expired"""
|
||||
|
||||
status_code = status.HTTP_400_BAD_REQUEST
|
||||
default_detail = "اين سهمیه دارای محدودیت مجوز فروش میباشد" # noqa
|
||||
default_code = 'error'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user