fieldName = models.BooleanField()
      Python language logo
      your recipe card header background

      Boolean field

      Django Public Recipes

      This code creates a new field named "fieldName" in the model instance. The field will be a boolean field.

      Library: django

      Shortcut: django.field.bool


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.