name = models.CharField(max_length=30)
status = models.IntegerField(choices=STATUS_CHOICES, default=REGULAR)


class MyForm(forms.ModelForm):
    status = forms.CharField(widget=forms.TextInput(attrs={'readonly': 'True'})
        )


class Meta:
    model = models.MyModel
How can I disable a model field in a django form