Skip to content

Commit

Permalink
add deprecation warning for CMS_MODERATOR
Browse files Browse the repository at this point in the history
  • Loading branch information
ojii committed Jun 28, 2012
1 parent c8462b2 commit a3fe35e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cms/conf/__init__.py
Expand Up @@ -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

Expand Down

0 comments on commit a3fe35e

Please sign in to comment.