Skip to content
Snippets Groups Projects
Commit 98ce6e3c authored by Nadja Geisler's avatar Nadja Geisler :sunny:
Browse files

make interest counter editable in admin AK list

parent 8c55f4db
No related branches found
No related tags found
1 merge request!111add interest window
Pipeline #48607 failed
...@@ -159,9 +159,9 @@ class AKAdminForm(forms.ModelForm): ...@@ -159,9 +159,9 @@ class AKAdminForm(forms.ModelForm):
@admin.register(AK) @admin.register(AK)
class AKAdmin(SimpleHistoryAdmin): class AKAdmin(SimpleHistoryAdmin):
model = AK model = AK
list_display = ['name', 'short_name', 'category', 'track', 'is_wish', 'interest', 'event'] list_display = ['name', 'short_name', 'category', 'track', 'is_wish', 'interest', 'interest_counter', 'event']
list_filter = ['category', WishFilter, 'event'] list_filter = ['category', WishFilter, 'event']
list_editable = ['short_name', 'track', 'interest'] list_editable = ['short_name', 'track', 'interest', 'interest_counter']
ordering = ['pk'] ordering = ['pk']
actions = ['wiki_export'] actions = ['wiki_export']
form = AKAdminForm form = AKAdminForm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment