Skip to content

Commit

Permalink
feat: improve admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharis278 committed Jul 15, 2024
1 parent 8319ccf commit eadc4cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions edx_exams/apps/core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ class CourseStaffRoleAdmin(admin.ModelAdmin):
@admin.register(StudentAllowance)
class StudentAllowanceAdmin(admin.ModelAdmin):
""" Admin configuration for the Student Allowance model """
raw_id_fields = ('user', 'exam')
list_display = ('username', 'course_id', 'exam_name', 'extra_time_mins')
search_fields = ('user__username', 'exam__course_id', 'exam__exam_name')
ordering = ('-modified',)
Expand Down

0 comments on commit eadc4cb

Please sign in to comment.