1👍
Use “editable” attribute. When you set “False”, element will not be shown in the admin, that is, you can’t change its value.
e.g.
licence_name = models.CharField(max_length=64, editable=False)
Source:stackexchange.com
1👍
Use “editable” attribute. When you set “False”, element will not be shown in the admin, that is, you can’t change its value.
e.g.
licence_name = models.CharField(max_length=64, editable=False)