Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hub
django-biodblinks
Commits
c7fa55c9
Commit
c7fa55c9
authored
Jan 18, 2021
by
Hervé Ménager
Browse files
add providerId attr to LabsLink link element
parent
25503f65
Pipeline
#45758
passed with stage
in 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
biodblinks/lablinks/serializer.py
View file @
c7fa55c9
...
...
@@ -43,7 +43,7 @@ class Serializer(BaseSerializer):
obj_pk
=
obj
.
pk
if
obj_pk
is
not
None
:
attrs
[
"pk"
]
=
str
(
obj_pk
)
self
.
xml
.
startElement
(
"link"
,
{})
self
.
xml
.
startElement
(
"link"
,
{
'providerId'
:
settings
.
LABLINKS_PROVIDER_ID
})
self
.
xml
.
startElement
(
"resource"
,
{})
self
.
indent
(
3
)
self
.
xml
.
startElement
(
"title"
,
{})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment