Skip to main content
Detected a django model $MODEL is not calling super().save() inside of the save method.
Avoid using null on string-based fields such as CharField and TextField. If a string-based field has null=True, that means it has two possible values for “no data”: NULL, and the empty string. In most cases, it’s redundant to have two possible values for “no data;” the Django convention is to use the empty string, not NULL.
If a text field declares unique=True and blank=True, null=True must also be set to avoid unique constraint violations when saving multiple objects with blank values.
null=True should be set if blank=True is set on non-text fields.
Found a FloatField used for variable $F. Use DecimalField for currency fields to avoid float-rounding errors.
I