diff --git a/cms/forms.py b/cms/forms.py index 28a8895..2a9006c 100644 --- a/cms/forms.py +++ b/cms/forms.py @@ -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}), }