Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
djangoldp-account
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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-account
Compare revisions
94df4711e015b8d70cd6626f7b2d7258bce6244c to a2ddfccfebefbc90f5a8d7558f01862d1d1585af
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
djangoldp-packages/djangoldp-account
Select target project
No results found
a2ddfccfebefbc90f5a8d7558f01862d1d1585af
Select Git revision
Swap
Target
djangoldp-packages/djangoldp-account
Select target project
djangoldp-packages/djangoldp-account
1 result
94df4711e015b8d70cd6626f7b2d7258bce6244c
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
fix: missing migration
· dee8bf15
Jean-Baptiste Pasquier
authored
9 months ago
dee8bf15
feature: add active_field params to trigger queryset filtering
· a2ddfccf
Benoit Alessandroni
authored
9 months ago
a2ddfccf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
djangoldp_account/migrations/0022_alter_account_picture.py
+18
-0
18 additions, 0 deletions
djangoldp_account/migrations/0022_alter_account_picture.py
djangoldp_account/models.py
+1
-0
1 addition, 0 deletions
djangoldp_account/models.py
with
19 additions
and
0 deletions
djangoldp_account/migrations/0022_alter_account_picture.py
0 → 100644
View file @
a2ddfccf
# Generated by Django 4.2.13 on 2024-07-01 10:55
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
"
djangoldp_account
"
,
"
0021_alter_account_picture_alter_urlid_and_more
"
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
"
account
"
,
name
=
"
picture
"
,
field
=
models
.
URLField
(
blank
=
True
,
default
=
None
,
null
=
True
),
),
]
This diff is collapsed.
Click to expand it.
djangoldp_account/models.py
View file @
a2ddfccf
...
...
@@ -84,6 +84,7 @@ class LDPUser(AbstractUser, Model):
nested_fields
=
user_nested_fields
serializer_fields
=
user_fields
+
user_nested_fields
empty_containers
=
user_empty_containers
active_field
=
'
is_active
'
def
name
(
self
):
return
self
.
get_full_name
()
...
...
This diff is collapsed.
Click to expand it.