fieldName = models.DecimalField(max_digits=None, decimal_places=None)

      Python language logoDjango 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.

      Shortcut: django.field.decimal

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.