|
|
@ -6,7 +6,7 @@ from .models import Feedback
|
|
|
|
@admin.register(Feedback)
|
|
|
|
@admin.register(Feedback)
|
|
|
|
class FeedbackAdmin(admin.ModelAdmin):
|
|
|
|
class FeedbackAdmin(admin.ModelAdmin):
|
|
|
|
list_display = ("helper", "party", "next_year", "feedback_len")
|
|
|
|
list_display = ("helper", "party", "next_year", "feedback_len")
|
|
|
|
readonly_fields = ("feedback_len",)
|
|
|
|
readonly_fields = ("helper", "party", "next_year", "feedback_text", "feedback_len")
|
|
|
|
list_filter = ("party", "next_year")
|
|
|
|
list_filter = ("party", "next_year")
|
|
|
|
ordering = ("helper__name",)
|
|
|
|
ordering = ("helper__name",)
|
|
|
|
|
|
|
|
|
|
|
|