diff --git a/common/djangoapps/student/admin.py b/common/djangoapps/student/admin.py index 561121c8e2..2e3b2c32b9 100644 --- a/common/djangoapps/student/admin.py +++ b/common/djangoapps/student/admin.py @@ -197,8 +197,17 @@ class UserAttributeAdmin(admin.ModelAdmin): model = UserAttribute +@admin.register(CourseEnrollmentAllowed) +class CourseEnrollmentAllowedAdmin(admin.ModelAdmin): + """ Admin interface for the CourseEnrollmentAllowed model. """ + list_display = ('email', 'course_id', 'auto_enroll',) + search_fields = ('email', 'course_id',) + + class Meta(object): + model = CourseEnrollmentAllowed + + admin.site.register(UserTestGroup) -admin.site.register(CourseEnrollmentAllowed) admin.site.register(Registration) admin.site.register(PendingNameChange) admin.site.register(DashboardConfiguration, ConfigurationModelAdmin)