Thanks for your help Daniel, That was exactly my problem. I changed the ModelForm in admin.py to this and it resolved the issue.
class EntryAdminForm(forms.ModelForm): body_html = forms.CharField(widget=TinyMCE(attrs={'cols': 80, 'rows': 30})) excerpt_html = forms.CharField(widget=TinyMCE(attrs={'cols': 80, 'rows': 30}), required=False) On Jan 26, 3:55 am, Daniel Roseman <roseman.dan...@googlemail.com> wrote: > On Jan 26, 5:22 am, "Eric I.E." <e...@adaptedstudio.com> wrote: > > > > > When I addTinyMCEto my form fields it turns them from optional > > (blank=True, null=True) into required fields. > > I am using django-tinymcein conjunction with django-filebrowser. > > > My field is defined in models.py like this: > > column1 = models.TextField(help_text="Extended Info", blank=True, > > null=True) > > > and theTinyMCEeditor is applied in the admin.py > > class NewsItemAdminForm(forms.ModelForm): > > column1 = forms.CharField(widget=TinyMCE(attrs={'cols': 80, 'rows': > > 25})) > > > Everthing performs as expected until saving when I receive an error > > reading "This field is required." > > RemovingTinyMCEremoves the error. Any ideas where to start with that > > one? > > This is standard behaviour, not connected toTinyMCE. If you override > any field in a modelform, you need to specify all the options - > including whether it's a required field or not. > -- > DR. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---