Skip to content Skip to sidebar Skip to footer

Django Show Admin Field On Demand

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.

Post a Comment for "Django Show Admin Field On Demand"