Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Trying django-tinymce

  • Loading branch information...
commit 73565fb788965b384bbe4fd0d10f32a0cce37322 1 parent 005e7e7
@scotu authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.