feat(api): Add Read Only abstract ViewSet

ref:  #248 #348
This commit is contained in:
2024-10-14 19:21:56 +09:30
parent b9301e4697
commit 79f17a7d57
3 changed files with 30 additions and 17 deletions

View File

@ -16,7 +16,13 @@ Views are used with Centurion ERP to Fetch the data for rendering.
- Views are class based
- Inherits from base class `api.viewsets.common.CommonViewSet`
- Inherits from one of the following base class':
- Index Viewset `api.viewsets.common.CommonViewSet`
- Model Viewset `api.viewsets.common.ModelViewSet`
- Model Viewset that are to be Read-Only `api.viewsets.common.ReadOnlyModelViewSet`
- **ALL** views are `ViewSets`