From 9ba81b856088b5cac8c216fa8f31ea9011dde6f3 Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Wed, 6 Nov 2024 23:21:24 +0100 Subject: [PATCH] feat: settings allow deleting versions and pages --- project_name/settings.py-tpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/project_name/settings.py-tpl b/project_name/settings.py-tpl index 73c9d1b..b6587af 100644 --- a/project_name/settings.py-tpl +++ b/project_name/settings.py-tpl @@ -213,10 +213,15 @@ CMS_PERMISSION = True X_FRAME_OPTIONS = 'SAMEORIGIN' # Enable inline editing with djangocms-text-ckeditor -# https://github.com/django-cms/djangocms-text-ckeditor#inline-editing-feature +# https://github.com/django-cms/djangocms-text#inline-editing-feature TEXT_INLINE_EDITING = True +# Allow deletion of version objects +# https://djangocms-versioning.readthedocs.io/en/latest/settings.html#DJANGOCMS_VERSIONING_ALLOW_DELETING_VERSIONS + +DJANGOCMS_VERSIONING_ALLOW_DELETING_VERSIONS = True + # Add project-wide static files directory # https://docs.djangoproject.com/en/{{ docs_version }}/ref/settings/#staticfiles-dirs