Browse files

Trying django-tinymce

  • Loading branch information...
1 parent 005e7e7 commit 73565fb788965b384bbe4fd0d10f32a0cce37322 @scotu committed Nov 28, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 treepages/forms.py
View
6 treepages/forms.py
@@ -1,12 +1,12 @@
from django import forms
# TODO: remove unused widgets
-from admin_upload.widgets import WYMEditorUpload
+#from admin_upload.widgets import WYMEditorUpload
#from django_rte_widgets.wmd import WmdTextarea
-#from tinymce.widgets import TinyMCE
+from tinymce.widgets import TinyMCE
from treepages.models import Page
class PageAdminModelForm(forms.ModelForm):
- body = forms.CharField(required=False, widget=WYMEditorUpload())
+ body = forms.CharField(required=False, widget=TinyMCE())
class Meta:
model = Page

0 comments on commit 73565fb

Please sign in to comment.