Skip to content

Commit

Permalink
display question weighting in admin question list
Browse files Browse the repository at this point in the history
  • Loading branch information
struan committed Jul 31, 2023
1 parent 7015156 commit c6e0eae
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion crowdsourcer/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ class OptionAdmin(admin.ModelAdmin):
"ordering",
]
list_filter = ["question__section", "question__question_type"]
list_display = ("question", "description", "score", "ordering")
list_display = (
"question",
"description",
"score",
"ordering",
)


@admin.register(PublicAuthority)
Expand All @@ -52,6 +57,7 @@ class QuestionAdmin(admin.ModelAdmin):
"number",
"number_part",
"description",
"weighting",
)
list_filter = ["section", "how_marked", "questiongroup"]
ordering = ("section", "number", "number_part")
Expand Down

0 comments on commit c6e0eae

Please sign in to comment.