This commit is contained in:
alazo 2017-04-07 16:09:00 +02:00
parent 90f8490d72
commit dc73e1d742

View file

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