from django import forms from newsroom.models import Story # from tinymce.widgets import TinyMCE class StoryForm(forms.ModelForm): # body=forms.CharField(widget=TinyMCE(attrs={'cols': 40, 'rows': 40})) # summary=forms.CharField(widget=TinyMCE(attrs={'cols':50, 'rows': 6})) class Meta: model = Story