Vertaling van "un ModelForm" in Engels
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
Par défaut, les champs d'un ModelForm ne régionalisent pas leurs données.
By default, the fields in a ModelForm will not localize their data.
Comment générer des erreurs de validation spécifiques à certains champs si ceux-ci n'apparaissent pas dans un ModelForm
How to raise field-specific validation errors if those fields don't appear in a ModelForm
Définit une limite des choix disponibles pour ce champ lorsqu'il est affiché par un ModelForm ou dans le site d'administration (par défaut, tous les objets du jeu de requête sont offerts comme choix).
Sets a limit to the available choices for this field when this field is rendered using a ModelForm or the admin (by default, all objects in the queryset are available to choose).
Comme pour un ModelForm, vous pouvez enregistrer les données sous forme d'objet de modèle.
Saving objects in the formset As with a ModelForm, you can save the data as a model object.
Si vous définissez un attribut Meta.model dans un ModelForm, vous devez également définir l'attribut Meta.fields (ou l'attribut Meta.exclude).
If you define the Meta.model attribute on a ModelForm, you must also define the Meta.fields attribute (or the Meta.exclude attribute).
Documentation django-forms 262 Comment filtrer les choix ForeignKey dans un ModelForm Django?
django-forms 262 How do I filter ForeignKey choices in a Django ModelForm?
Un ModelForm pour créer un nouvel utilisateur.
A form for creating a new user.