TinyMCE_3
This commit is contained in:
parent
dc73e1d742
commit
38a8f5c350
2 changed files with 7 additions and 1 deletions
|
|
@ -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):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue