TinyMCE_3

This commit is contained in:
alazo 2017-04-07 18:36:10 +02:00
parent dc73e1d742
commit 38a8f5c350
2 changed files with 7 additions and 1 deletions

View file

@ -20,10 +20,11 @@ class DocumentAdminForm(forms.ModelForm):
class Meta:
model = Document
fields = ('titre', 'texte','published')
widgets = {
'texte': TinyMCE(attrs={'cols': 120, 'rows': 30}),
}
class ProcessusAdminForm(forms.ModelForm):