We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 191d5b1 commit ff05978Copy full SHA for ff05978
1 file changed
ietf/doc/admin.py
@@ -23,6 +23,7 @@ class StateTypeAdmin(admin.ModelAdmin):
23
class StateAdmin(admin.ModelAdmin):
24
list_display = ["slug", "type", 'name', 'order', 'desc']
25
list_filter = ["type", ]
26
+ search_fields = ["slug", "type__label", "type__slug", "name", "desc"]
27
filter_horizontal = ["next_states"]
28
admin.site.register(State, StateAdmin)
29
0 commit comments