Skip to content

Commit f7d298e

Browse files
Fix: universal branch (#167)
* 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>
1 parent a152bdf commit f7d298e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ include CHANGELOG.rst
33
include LICENSE
44
include pyproject.toml
55
include README.rst
6-
include src/*/py.typed
6+
recursive-include src/djangocms_snippet *

src/djangocms_snippet/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class Media:
4747

4848
list_display = ("name",)
4949
search_fields: ClassVar[list[str]] = ["name"]
50+
change_form_template = "djangocms_snippet/admin/change_form.html"
5051
text_area_attrs: ClassVar[dict[str, Any]] = {
5152
"rows": 20,
5253
"data-editor": True,

0 commit comments

Comments
 (0)