1. Curtis Maloney
  2. gnocchi-cms

Commits

funkybob  committed 37558ed

Replace wymeditor with ckeditor

  • Participants
  • Parent commits 02710cc
  • Branches default

Comments (0)

Files changed (2)

File gnocchi/cms/admin.py

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

File gnocchi/cms/settings.py

View file
     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')