Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
djangoldp
Manage
Activity
Members
Labels
Plan
Issues
99
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
djangoldp-packages
djangoldp
Commits
d0581373
Commit
d0581373
authored
4 years ago
by
Calum Mackervoy
Browse files
Options
Downloads
Patches
Plain Diff
id no longer appended to non LDP-Account user model
parent
02b9008f
No related branches found
No related tags found
1 merge request
!122
Minor: id no longer appended to non LDP-Account user model
Pipeline
#4994
passed with stage
in 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
djangoldp/models.py
+0
-3
0 additions, 3 deletions
djangoldp/models.py
with
0 additions
and
3 deletions
djangoldp/models.py
+
0
−
3
View file @
d0581373
...
...
@@ -197,7 +197,4 @@ if 'djangoldp_account' not in settings.DJANGOLDP_PACKAGES:
webid
=
'
{0}{1}
'
.
format
(
settings
.
BASE_URL
,
reverse_lazy
(
'
user-detail
'
,
kwargs
=
{
'
pk
'
:
self
.
pk
}))
return
webid
if
get_user_model
().
_meta
.
serializer_fields
is
None
:
get_user_model
().
_meta
.
serializer_fields
=
[]
get_user_model
().
_meta
.
serializer_fields
.
append
(
'
@id
'
)
get_user_model
().
webid
=
webid
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment