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
On Jan 26, 5:22 am, "Eric I.E." wrote:
> When I add TinyMCE to my form fields it turns them from optional
> (blank=True, null=True) into required fields.
> I am using django-tinymce in conjunction with django-filebrowser.
>
> My field is defined in models.py like this:
> column1 = models.TextFiel
I started using django-tinymce's HTMLField the previous line in
models.py is placed with this:
column1 = tinymce_models.HTMLField(blank=True, null=True)
which seems to take care of the errors. I would like to know why that
is, and I also generally like controlling forms in admin.py not in
models.
When I add TinyMCE to my form fields it turns them from optional
(blank=True, null=True) into required fields.
I am using django-tinymce in conjunction with django-filebrowser.
My field is defined in models.py like this:
column1 = models.TextField(help_text="Extended Info", blank=True,
null=True)
4 matches
Mail list logo