Open ManojDatt opened 7 years ago
Not sure what you are after but to rename models just add verbose_name = 'my awesome name'
to the class Meta
.
As to removing and hiding, is that not covered by a custom dashboard?
@ManojDatt see:
Based on x0nix's answer I did some experiments. It seems like returning an empty dict from
get_model_perms
excludes the model from index.html, whilst still allowing you to edit instances directly.
http://stackoverflow.com/a/4871511/2374329
This works for me with Django 1.10.5, Python 3.6.0 and django-jet
1.0.4.
Maybe can be a new feature for django-jet
.
Please come to the django-jet Discord server so we can organize if you like:
Welcome! 😄
Unable to remove or hide or rename models(resource) that are not necessory.