Skip to content

Commit

Permalink
Merge pull request #758 from openedx/asheehan-edx/fixing-query-admin
Browse files Browse the repository at this point in the history
fix: making non-editable query field readonly in admin
  • Loading branch information
alex-sheehan-edx authored Feb 1, 2024
2 parents 6f1fa22 + e046f5a commit 7fa647a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions enterprise_catalog/apps/catalog/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ class CatalogQueryAdmin(UnchangeableMixin):
'title',
'content_filter',
)
readonly_fields = ('uuid',)
list_display = (
'uuid',
'content_filter_hash',
Expand Down

0 comments on commit 7fa647a

Please sign in to comment.