Skip to content

Commit 7f5baec

Browse files
authored
Merge pull request #8 from django-cms/feat/allow-deleting-versions
feat: settings allow deleting versions and pages
2 parents 366f0fd + 9ba81b8 commit 7f5baec

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

project_name/settings.py-tpl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,15 @@ CMS_PERMISSION = True
213213
X_FRAME_OPTIONS = 'SAMEORIGIN'
214214

215215
# Enable inline editing with djangocms-text-ckeditor
216-
# https://github.com/django-cms/djangocms-text-ckeditor#inline-editing-feature
216+
# https://github.com/django-cms/djangocms-text#inline-editing-feature
217217

218218
TEXT_INLINE_EDITING = True
219219

220+
# Allow deletion of version objects
221+
# https://djangocms-versioning.readthedocs.io/en/latest/settings.html#DJANGOCMS_VERSIONING_ALLOW_DELETING_VERSIONS
222+
223+
DJANGOCMS_VERSIONING_ALLOW_DELETING_VERSIONS = True
224+
220225
# Add project-wide static files directory
221226
# https://docs.djangoproject.com/en/{{ docs_version }}/ref/settings/#staticfiles-dirs
222227

0 commit comments

Comments
 (0)