Skip to content

djangodocs

Django 1.9
  • 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
Português (Brasil)
  • English
  • Français
  • 日本語
  • Bahasa Indonesia
  • Português (Brasil)
  • Español
Documentation contents
  • Documentação do Django
  • Introdução
  • Using Django
  • Guias de “como fazer”
  • Django - Perguntas e dúvidas frequentes.
  • Referência da API
    • Aplicações
    • O framework de verificação do sistema.
    • API nativa de views baseadas em classes
    • Clickjacking Protection
    • contrib packages
    • Cross Site Request Forgery protection
    • Banco de Dados
    • django-admin and manage.py
    • Django Exceções
    • File handling
    • Formulários
      • The Forms API
      • Form fields
      • Model Form Functions
      • Formset Functions
      • Widgets
      • Form and field validation
    • Middleware
    • Operações de Migrações
    • Models
    • Request and response objects
    • SchemaEditor
    • Settings
    • Signals
    • Templates
    • TemplateResponse and SimpleTemplateResponse
    • Unicode data
    • django.core.urlresolvers utility functions
    • django.conf.urls utility functions
    • Django Utils
    • Validators
    • Built-in Views
  • Meta-documentação e miscelâneas
  • Glossário
  • Notas de lançamento
  • Funcionamento interno do Projeto Django
Django 1.9 is no longer supported. It receives no security fixes. Use it for reference only. Latest release
Portuguese (Brazil) translation. Untranslated passages appear in English. 29.9% Help translate
  1. Django 1.9
  2. Referência da API
  3. Formulários

Formset FunctionsLink para este cabeçalho#

Formset API reference. For introductory material about formsets, see the Formsets topic guide.

formset_factoryLink para este cabeçalho#

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 para esta definição#

Returns a FormSet class for the given form class.

See formsets for example usage.

View as Markdown Edit this page on GitHub Official version
PreviousModel Form Functions NextWidgets

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