Skip to content

Commit

Permalink
fix: fix State admin
Browse files Browse the repository at this point in the history
  • Loading branch information
AmooHashem committed Oct 8, 2024
1 parent c188219 commit df9e046
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/fsm/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,9 +546,9 @@ class UploadFileProblemCustomAdmin(admin.ModelAdmin):
@admin.register(State)
class StateAdmin(admin.ModelAdmin):
model = State
list_display = ['id', 'name', 'fsm']
list_filter = ['name']
search_fields = ['name']
list_display = ['id', 'title', 'name', 'fsm']
list_filter = ['title']
search_fields = ['title']


@admin.register(Position)
Expand Down

0 comments on commit df9e046

Please sign in to comment.