We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 166387d commit 7bd9c27Copy full SHA for 7bd9c27
djangocms_versioning/conf.py
@@ -4,6 +4,8 @@
4
ENABLE_MENU_REGISTRATION = getattr(
5
settings, "DJANGOCMS_VERSIONING_ENABLE_MENU_REGISTRATION", CMS_VERSION <= "4.1.0"
6
)
7
+if CMS_VERSION.startswith("5."):
8
+ ENABLE_MENU_REGISTRATION = False
9
10
USERNAME_FIELD = getattr(
11
settings, "DJANGOCMS_VERSIONING_USERNAME_FIELD", "username"
test_settings.py
@@ -51,10 +51,6 @@
51
52
def run():
53
from app_helper import runner
54
- from cms import __version__ as cms_version
55
-
56
- if cms_version.startswith("5."):
57
- HELPER_SETTINGS["DJANGOCMS_VERSIONING_ENABLE_MENU_REGISTRATION"] = False
58
59
runner.cms("djangocms_versioning", extra_args=[])
60
0 commit comments