Skip to content

Commit

Permalink
make available field readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
lukavdplas committed Nov 8, 2024
1 parent a34679b commit f1cb8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/es/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def update_index_metadata(self, request, queryset):


class IndexAdmin(admin.ModelAdmin):
readonly_fields = ['aliases', 'settings', 'mappings', 'creation_date']
readonly_fields = ['available', 'aliases', 'settings', 'mappings', 'creation_date']
list_display = ['name', 'server', 'available']
search_fields = ['name']
list_filter = ['server', 'available']
Expand Down

0 comments on commit f1cb8e2

Please sign in to comment.