Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
d90c1a28
Commit
d90c1a28
authored
Feb 17, 2016
by
Ahsan Ulhaq
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11560 from edx/ahsan/ECOM-2831-GeneratedCertificates-admin-broken
set show_full_result_count false
parents
21aa7edd
88df4564
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
common/djangoapps/student/admin.py
+1
-0
lms/djangoapps/certificates/admin.py
+1
-0
No files found.
common/djangoapps/student/admin.py
View file @
d90c1a28
...
...
@@ -151,6 +151,7 @@ class UserProfileAdmin(admin.ModelAdmin):
""" Admin interface for UserProfile model. """
list_display
=
(
'user'
,
'name'
,)
raw_id_fields
=
(
'user'
,)
show_full_result_count
=
False
search_fields
=
(
'user__username'
,
'user__first_name'
,
'user__last_name'
,
'user__email'
,
'name'
,)
def
get_readonly_fields
(
self
,
request
,
obj
=
None
):
...
...
lms/djangoapps/certificates/admin.py
View file @
d90c1a28
...
...
@@ -54,6 +54,7 @@ class GeneratedCertificateAdmin(admin.ModelAdmin):
Django admin customizations for GeneratedCertificate model
"""
raw_id_fields
=
(
'user'
,)
show_full_result_count
=
False
search_fields
=
(
'course_id'
,
'user__username'
)
list_display
=
(
'id'
,
'course_id'
,
'mode'
,
'user'
)
...
...
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