Skip to content

Commit

Permalink
fix: SnippetAdmin use overrdden change_form_template
Browse files Browse the repository at this point in the history
  • Loading branch information
joshyu committed Aug 20, 2024
1 parent 008ae76 commit 374cfe8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/djangocms_snippet/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class Media:

list_display = ("name",)
search_fields: ClassVar[list[str]] = ["name"]
change_form_template = 'djangocms_snippet/admin/change_form.html'
text_area_attrs: ClassVar[dict[str, Any]] = {
"rows": 20,
"data-editor": True,
Expand Down

0 comments on commit 374cfe8

Please sign in to comment.