Add internal_name field to workflow serializer
Fixes workflow API creation view. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
single page navigation to jump to the home view.
|
||||
* Remove redundant Celery queue declarations from the
|
||||
file_metadata app.
|
||||
* Add internal_name field to workflow serializer.
|
||||
Fixes workflow API creation view.
|
||||
|
||||
3.2.6 (2019-07-10)
|
||||
==================
|
||||
|
||||
@@ -13,6 +13,8 @@ Changes
|
||||
single page navigation to jump to the home view.
|
||||
- Remove redundant Celery queue declarations from the
|
||||
file_metadata app.
|
||||
- Add internal_name field to workflow serializer.
|
||||
Fixes workflow API creation view.
|
||||
|
||||
Removals
|
||||
--------
|
||||
|
||||
@@ -266,7 +266,7 @@ class WritableWorkflowSerializer(serializers.ModelSerializer):
|
||||
'url': {'view_name': 'rest_api:workflow-detail'},
|
||||
}
|
||||
fields = (
|
||||
'document_types_pk_list', 'label', 'id', 'url',
|
||||
'document_types_pk_list', 'label', 'id', 'internal_name', 'url',
|
||||
)
|
||||
model = Workflow
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user