Skip to content

Commit 68f537f

Browse files
committed
Added comment to explain why cms_toolbar_models are required
1 parent 9e5433f commit 68f537f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

djangocms_snippet/cms_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class SnippetCMSAppConfig(CMSAppConfig):
2323
)
2424

2525
cms_enabled = True
26+
# cms toolbar enabled to allow for versioning compare view
2627
cms_toolbar_enabled_models = [(Snippet, render_snippet), ]
2728

2829
if djangocms_moderation_enabled and djangocms_moderation_installed:

0 commit comments

Comments
 (0)