In PostNewView you need to add form_class class PostNewView(CreateView): model = Post form_class = PostForm template_name ...
確定! 回上一頁