Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Backend
Merge requests
!1516
Add Element rotation and mirroring properties on ListTranscriptions
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add Element rotation and mirroring properties on ListTranscriptions
list-transcriptions-rotation
into
master
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Erwan Rouchet
requested to merge
list-transcriptions-rotation
into
master
3 years ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
Closes
#883 (closed)
Edited
3 years ago
by
Erwan Rouchet
0
0
Merge request reports
Viewing commit
f560b709
Prev
Next
Show latest version
1 file
+
5
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
f560b709
Add Element rotation and mirroring properties on ListTranscriptions
· f560b709
Erwan Rouchet
authored
3 years ago
arkindex/documents/serializers/light.py
+
5
−
1
Options
@@ -64,7 +64,11 @@ class ElementZoneSerializer(ElementLightSerializer):
class
Meta
(
ElementLightSerializer
.
Meta
):
model
=
Element
fields
=
ElementLightSerializer
.
Meta
.
fields
+
(
'
zone
'
,
)
fields
=
ElementLightSerializer
.
Meta
.
fields
+
(
'
zone
'
,
'
rotation_angle
'
,
'
mirrored
'
,
)
class
ElementTypeLightSerializer
(
serializers
.
ModelSerializer
):
Loading