1
0
mirror of https://github.com/jumpserver/jumpserver.git synced 2025-05-04 22:27:06 +00:00
jumpserver/apps/assets/exceptions.py
xinwen 28da819735 perf(assets): 优化节点树
修改树策略,做读优化,写的速度降低
2020-09-21 10:23:09 +08:00

7 lines
170 B
Python

from rest_framework import status
from common.exceptions import JMSException
class NodeIsBeingUpdatedByOthers(JMSException):
status_code = status.HTTP_409_CONFLICT