“null = vrai django” Réponses codées

vide = vrai

blank determines whether the field will be required in forms. This includes the admin and your custom forms. If blank=True then the field will not be required, whereas if it's False the field cannot be blank.
Odd Osprey

null = vrai django

null=True sets NULL (versus NOT NULL) on the column in your DB. 
Blank values for Django field types such as DateTimeField or 
ForeignKey will be stored as NULL in the DB.

blank determines whether the field will be required in forms. 
This includes the admin and your custom forms. 
If blank=True then the field will not be required, 
whereas if it's False the field cannot be blank.
MitchAloha

Réponses similaires à “null = vrai django”

Questions similaires à “null = vrai django”

Plus de réponses similaires à “null = vrai django” dans Python

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code