Field.disabled
New in Django 1.9.
The disabled
boolean argument, when set to True
, disables a form field using the disabled
HTML attribute so that it won’t be editable by users. Even if a user tampers with the field’s value submitted to the server, it will be ignored in favor of the value from the form’s initial data.
Please login to continue.