Merge pull request #17775 from edx/jdmulloy/ops2943/disable_enrollment_admin

Disable course enrollments admin page OPS-2943
This commit is contained in:
Joseph Mulloy
2018-03-26 11:40:56 -04:00
committed by GitHub

View File

@@ -165,7 +165,13 @@ class CourseEnrollmentForm(forms.ModelForm):
fields = '__all__'
@admin.register(CourseEnrollment)
# Page disabled because it makes DB quries that impact performance enough to
# cause a site outage. It may be re-enabled when it is updated to make more
# efficent DB queries
# https://openedx.atlassian.net/browse/OPS-2943
# Learner ticket to add functionality to /support
# https://openedx.atlassian.net/browse/LEARNER-4744
#@admin.register(CourseEnrollment)
class CourseEnrollmentAdmin(admin.ModelAdmin):
""" Admin interface for the CourseEnrollment model. """
list_display = ('id', 'course_id', 'mode', 'user', 'is_active',)