Skip to content

Commit

Permalink
Maybe show warnings in admin.
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvarner committed Jan 7, 2025
1 parent aa3694c commit c398245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readux_ingest_ecds/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class LocalAdmin(admin.ModelAdmin):
"""Django admin ingest.models.local resource."""

list_display = ["manifest"]
fields = ("bundle", "image_server", "collections")
readonly_fields = ["manifest", "warnings"]
fields = ("bundle", "image_server", "collections", "manifest", "warnings")
readonly_fields = ("manifest", "warnings")
show_save_and_add_another = False

def save_model(self, request, obj, form, change):
Expand Down

0 comments on commit c398245

Please sign in to comment.