Skip to content

Commit

Permalink
Update admin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alesanchezr authored Oct 29, 2024
1 parent ea561ad commit ac4a6f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion breathecode/assessment/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def change_status_answered(modeladmin, request, queryset):

@admin.register(UserAssessment)
class UserAssessmentAdmin(admin.ModelAdmin):
search_fields = ["title", "question__assessment__title"]
search_fields = ["title", "assessment__title"]
readonly_fields = ("token",)
list_display = ["id", "title", "current_status", "lang", "owner", "total_score", "assessment", "academy"]
list_filter = ["lang", "status", "academy"]
Expand Down

0 comments on commit ac4a6f0

Please sign in to comment.