Changes between Version 27 and Version 28 of AddWYSIWYGEditor
- Timestamp:
- Sep 1, 2008, 9:06:20 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AddWYSIWYGEditor
v27 v28 113 113 In an admin.py in some application add the following: 114 114 {{{ 115 from django.contrib import admin116 115 from django.contrib.flatpages.models import FlatPage 116 from django.contrib.flatpages.admin import FlatPageAdmin as FlatPageAdminOld 117 117 118 class FlatPageAdmin( admin.ModelAdmin):118 class FlatPageAdmin(FlatPageAdminOld): 119 119 class Media: 120 120 js = ('js/tiny_mce/tiny_mce.js', 121 'js/tiny_mce/textarea .js',)121 'js/tiny_mce/textareas.js',) 122 122 123 123 # We have to unregister it, and then reregister