Boolean field

    0

    3

    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

    fieldName = models.BooleanField()
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.