Skip to content

djangodocs

Django 1.11
  • 6.1 current
  • 6.0
  • 5.2 LTS
  • 5.1 unsupported
  • 5.0 unsupported
  • 4.2 unsupported
  • 4.1 unsupported
  • 4.0 unsupported
  • 3.2 unsupported
  • 3.1 unsupported
  • 3.0 unsupported
  • 2.2 unsupported
  • 2.1 unsupported
  • 2.0 unsupported
  • 1.11 unsupported
  • 1.10 unsupported
  • 1.9 unsupported
日本語
  • English
  • Français
  • 日本語
  • Bahasa Indonesia
  • Português (Brasil)
  • 한국어
  • Español
  • Ελληνικά
  • Polski
Documentation contents
  • Django ドキュメント
  • さぁ始めましょう。
  • Django を使う
  • 「How-to」ガイド
  • Django FAQ よくある質問
  • API Reference
    • アプリケーション
    • System check framework
    • ビルトインのクラスベースビュー API
    • クリックジャッキング対策
    • contrib packages
    • クロスサイトリクエストフォージェリ (CSRF) 対策
    • Databases
    • django-admin と manage.py
    • Django Exceptions
    • File handling
    • フォーム
      • フォーム API
      • Form fields
      • モデルフォーム関数
      • Formset Functions
      • The form rendering API
      • ウィジェット
      • フォームとフィールドの検証
    • ミドルウェア
    • マイグレーション操作
    • モデル
    • リクエストとレスポンスのオブジェクト
    • SchemaEditor
    • 設定
    • Signals
    • テンプレート
    • TemplateResponse and SimpleTemplateResponse
    • Unicode data
    • django.urls utility functions
    • django.conf.urls utility functions
    • Django Utils
    • バリデータ
    • Built-in Views
  • メタドキュメントとその他
  • 用語集
  • リリースノート
  • Django internals
Django 1.11 is no longer supported. It receives no security fixes. Use it for reference only. Latest release
Japanese translation. Untranslated passages appear in English. 27.5% Help translate
  1. Django 1.11
  2. API Reference
  3. フォーム

Formset FunctionsLink to this heading#

Formset API reference. For introductory material about formsets, see the フォームセット (Formsets) topic guide.

formset_factoryLink to this heading#

formset_factory(form, formset=BaseFormSet, extra=1, can_order=False, can_delete=False, max_num=None, validate_max=False, min_num=None, validate_min=False)Link to this definition#

与えられた form クラスの FormSet クラスを返します。

使用例は formsets を見てください。

View as Markdown Edit this page on GitHub Official version
Previousモデルフォーム関数 NextThe form rendering API

On this page

  • formset_factory

An unofficial rendering of the Django documentation.

Not affiliated with or endorsed by the Django Software Foundation. The documentation is copyright © Django Software Foundation and individual contributors, and is used under the BSD 3-Clause licence. “Django” is a trademark of the Django Software Foundation.

This translation is the work of the Django i18n community, not of this site. Read the official documentation at docs.djangoproject.com.

👋 Jason Cartwright