Skip to content
This repository
Browse code

add deprecation warning for CMS_MODERATOR

  • Loading branch information...
commit a3fe35e56d08aa8594da4748e0029d68dab848e9 1 parent c8462b2
Jonas Obrist authored June 28, 2012

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  cms/conf/__init__.py
3  cms/conf/__init__.py
@@ -18,6 +18,9 @@ def patch_settings():
18 18
     if getattr(settings, 'CMS_FLAT_URLS', False):
19 19
         warnings.warn("CMS_FLAT_URLS are deprecated and will be removed in django CMS 2.4!", DeprecationWarning)
20 20
     
  21
+    if getattr(settings, 'CMS_MODERATOR', False):
  22
+        warnings.warn("CMS_MODERATOR will be removed and replaced in django CMS 2.4!", DeprecationWarning)
  23
+    
21 24
     from cms.conf import global_settings
22 25
     # patch settings
23 26
     

0 notes on commit a3fe35e

Please sign in to comment.
Something went wrong with that request. Please try again.