I'd like to hide fields on demand in the django admin interface, this means not all parameters are necessary. This is only for usability for the customers of my software. If some c
Solution 1:
add editable=False to the field you want to hide in model class.
e.g.
to_hide = models.TextField(editable=False)
hope it helps.
Share
Post a Comment
for "Django Show Admin Field On Demand"
Post a Comment for "Django Show Admin Field On Demand"