Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add deprecation warning for CMS_MODERATOR

  • Loading branch information...
commit a3fe35e56d08aa8594da4748e0029d68dab848e9 1 parent c8462b2
@ojii ojii authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  cms/conf/__init__.py
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
Please sign in to comment.
Something went wrong with that request. Please try again.