Skip to content

Commit

Permalink
Fix: universal branch (#167)
Browse files Browse the repository at this point in the history
* fix: manifest.in

* fix: SnippetAdmin use overrdden change_form_template

* ci: auto fixes from pre-commit hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
joshyu and pre-commit-ci[bot] authored Aug 20, 2024
1 parent a152bdf commit f7d298e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ include CHANGELOG.rst
include LICENSE
include pyproject.toml
include README.rst
include src/*/py.typed
recursive-include src/djangocms_snippet *
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 f7d298e

Please sign in to comment.