1
0
forked from erp-dev/erp

feat: error_code + api doc + printing-job fields

This commit is contained in:
2026-07-06 23:13:57 +08:00
parent 740d23d04b
commit ddbf798665
21 changed files with 977 additions and 17 deletions

View File

@@ -0,0 +1,12 @@
from rest_framework.permissions import AllowAny
from rest_framework.response import Response
from rest_framework.views import APIView
from flower.error_code_registry import list_error_code_groups
class ErrorCodeListView(APIView):
permission_classes = [AllowAny]
def get(self, request):
return Response({'modules': list_error_code_groups()})