Django Decimal Field



    Django Public Recipes

    The fieldName is a name for the field in your model. The max_digits and decimal_places arguments set the maximum and number of digits in the field, respectively.

    Library: django

    Shortcut: django.field.decimal

    fieldName = models.DecimalField(max_digits=None, decimal_places=None)
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.