Commits

Anonymous committed 37558ed

Replace wymeditor with ckeditor

Comments (0)

Files changed (2)

gnocchi/cms/admin.py

 
     class Media:
         js = (
-            'ckeditor/ckeditor.js',
+            os.path.join(settings.CKEDITOR, 'ckeditor.js'),
             'gnocchi/ckeditor_page.js',
         )
     fieldsets = (

gnocchi/cms/settings.py

     STATIC_URL = settings.MEDIA_URL
 CODEMIRROR = getattr(settings, 'CODEMIRROR',
     os.path.join(STATIC_URL, 'codemirror'))
-WYMEDITOR = getattr(settings, 'WYMEDITOR',
-    os.path.join(STATIC_URL, 'wymeditor'))
+WYMEDITOR = getattr(settings, 'CKEDITOR',
+    os.path.join(STATIC_URL, 'ckeditor'))
 
 # For Context Variables
 CV_NAMESPACE = getattr(settings, 'CV_NAMESPACE', 'cv')