I would like to make certain fields in the form to read only while other editable. I read this in HTML (Read only)
<form action="demo_form.asp">
Country: <input type="text" name="country" value="Norway" readonly="readonly" /><br />
<input type="submit" value="Submit" />
</form>
This example specifically states the fields which will be editable. But i am using Django Forms. I am not able to do this specifically because the field is derived from models.py.
What options do i have in making the fields read only? Need some suggestions and guidance...