Show More
@@ -90,6 +90,7 b' class TagAdmin(admin.ModelAdmin):' | |||
|
90 | 90 | super().save_model(request, obj, form, change) |
|
91 | 91 | for thread in obj.get_threads().all(): |
|
92 | 92 | thread.refresh_tags() |
|
93 | ||
|
93 | 94 | list_display = ('name', 'thread_count', 'display_children') |
|
94 | 95 | search_fields = ('name',) |
|
95 | 96 | readonly_fields = ('name',) |
@@ -98,6 +99,8 b' class TagAdmin(admin.ModelAdmin):' | |||
|
98 | 99 | @admin.register(TagAlias) |
|
99 | 100 | class TagAliasAdmin(admin.ModelAdmin): |
|
100 | 101 | list_display = ('locale', 'name', 'parent') |
|
102 | list_filter = ('locale',) | |
|
103 | search_fields = ('name',) | |
|
101 | 104 | |
|
102 | 105 | |
|
103 | 106 | @admin.register(Thread) |
General Comments 0
You need to be logged in to leave comments.
Login now