diff --git a/fet2020/posts/forms.py b/fet2020/posts/forms.py index f5d5eb91..d2e4616b 100644 --- a/fet2020/posts/forms.py +++ b/fet2020/posts/forms.py @@ -4,7 +4,7 @@ from ckeditor_uploader.widgets import CKEditorUploadingWidget from .models import Post class MyPostForm(forms.ModelForm): - class Meta: + class Meta: model = Post fields = ['title','subtitle', 'image','body','slug','author']