__init__.py 808 Bytes
Newer Older
Florent Chehab's avatar
Florent Chehab committed
1
from .obj_moderation_permission import OBJ_MODERATION_PERMISSIONS  # noqa: F401
Florent Chehab's avatar
Florent Chehab committed
2
from .obj_moderation_permission import DEFAULT_OBJ_MODERATION_LV  # noqa: F401
3 4 5 6 7 8 9 10 11 12 13 14 15
try:
    # the two imports are used outside of django
    # the try catch is here to prevent the raise of error
    from .noDeleteIfNotStaff import NoDeleteIfNotStaff  # noqa: F401
    from .isOwner import IsOwner  # noqa: F401
    from .noDelete import NoDelete  # noqa: F401
    from .isStaffOrReadOnly import IsStaffOrReadOnly  # noqa: F401
    from .readOnly import ReadOnly  # noqa: F401
    from .isDriOrReadOnly import IsDriOrReadOnly  # noqa: F401
    from .default_viewset_permissions import DEFAULT_VIEWSET_PERMISSIONS  # noqa: F401
    from .__is_moderation_required import is_moderation_required  # noqa: F401
except Exception:
    pass