Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Document moderator deprecation, fixes #1322 #1327

Merged
merged 2 commits into from

2 participants

@ojii
Collaborator

No description provided.

@travisbot

This pull request passes (merged a3fe35e into 8b22b40).

@travisbot

This pull request fails (merged c8462b2 into 8b22b40).

@ojii ojii merged commit 582807d into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 0 deletions.
  1. +3 −0  cms/conf/__init__.py
  2. +2 −0  docs/upgrade/2.3.rst
View
3  cms/conf/__init__.py
@@ -18,6 +18,9 @@ def patch_settings():
if getattr(settings, 'CMS_FLAT_URLS', False):
warnings.warn("CMS_FLAT_URLS are deprecated and will be removed in django CMS 2.4!", DeprecationWarning)
+ if getattr(settings, 'CMS_MODERATOR', False):
+ warnings.warn("CMS_MODERATOR will be removed and replaced in django CMS 2.4!", DeprecationWarning)
+
from cms.conf import global_settings
# patch settings
View
2  docs/upgrade/2.3.rst
@@ -85,3 +85,5 @@ Pending deprecations
********************
The ``CMS_FLAT_URLS`` setting is deprecated and will be removed in version 2.4.
+The moderation feature (``CMS_MODERATOR = True``) will be deprecated in 2.4 and
+replaced with a simpler way of handling unpublished changes.
Something went wrong with that request. Please try again.