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

    fieldName = models.BooleanField()
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    • 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.