These are chat archives for django/django
basic_amount = forms.DecimalField(disabled=True)for disabling the field. I passed
blank=True, null=Trueto basic_amount field , thought that it will make the field not required but its just a permissible in the database, not the form. I had to pass
required=Falseas well in the basic_amount in forms.
disabledattribute from model field.