diff --git a/djangocms_references/monkeypatch/admin.py b/djangocms_references/monkeypatch/admin.py index 0697b81..d6df043 100644 --- a/djangocms_references/monkeypatch/admin.py +++ b/djangocms_references/monkeypatch/admin.py @@ -4,6 +4,7 @@ from djangocms_alias import admin as AliasOriginalAdmin from djangocms_snippet import admin as SnippetOriginalAdmin + from djangocms_references.compat import DJANGO_CMS_4_1 diff --git a/tests/test_admin.py b/tests/test_admin.py index 04d69dd..b9c382d 100644 --- a/tests/test_admin.py +++ b/tests/test_admin.py @@ -11,6 +11,7 @@ from djangocms_snippet.admin import SnippetAdmin as SnippetContentAdmin from djangocms_snippet.models import Snippet as SnippetContent, SnippetGrouper from djangocms_versioning.models import Version + from djangocms_references.compat import DJANGO_CMS_4_1