How to make fields to be read only fields in the Django model admin forms?
Note: If you want to read the blog series on Django Admin customization, then click here.
Suppose you have a Book model which has an is_active field as given below.
# app_name/models.py
class Book(models.Model):
...
is_active = models.Boole...
blog.devjunction.in1 min read