class CreateView(SingleObjectTemplateResponseMixin, BaseCreateView): """ View for creating a new object instance, with a response rendered by template. """ template_name_suffix = '_form' ...例えば下記のような場合、picture_form.htmlを探します。
class PictureCreateView(CreateView): model = Picture
0 件のコメント:
コメントを投稿