Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MOOC packages by hacklab
django-courses
Commits
0637bac4
Commit
0637bac4
authored
Jul 19, 2021
by
Matheus Miranda
Browse files
Merge branch 'develop' into 'master'
Removing cpf attribute See merge request
!69
parents
cba2acaf
ccc177c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
courses/reports/serializers.py
courses/reports/serializers.py
+3
-3
No files found.
courses/reports/serializers.py
View file @
0637bac4
...
...
@@ -17,7 +17,7 @@ class UserInDetailSerializer(serializers.ModelSerializer):
model
=
User
fields
=
sorted
((
'name'
,
'cpf'
,
#
'cpf',
'email'
,
'institution'
,
'city'
,
...
...
@@ -67,7 +67,7 @@ class UsersByClassSerializer(serializers.Serializer):
model
=
CourseStudent
fields
=
sorted
((
'name'
,
'cpf'
,
#
'cpf',
'email'
,
'last_login'
,
# 'percent_progress_by_lesson',
...
...
@@ -81,7 +81,7 @@ class UsersByClassSerializer(serializers.Serializer):
'groups'
,
))
cpf
=
serializers
.
SerializerMethodField
()
#
cpf = serializers.SerializerMethodField()
email
=
serializers
.
SerializerMethodField
()
last_login
=
serializers
.
SerializerMethodField
()
# has_certificate = serializers.SerializerMethodField()
...
...
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