-
I installed phonebox_plugin : https://github.com/iDebugAll/phonebox_plugin Wasn't good fit for our use case, so I uninstalled it. including dropping the tables and removing the django migration records. How do I get rid of these from the permissions editor? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
My first guess would be this is showing all entries from the django_content_type table.
|
Beta Was this translation helpful? Give feedback.
-
I'm not sure how running the commands in your first reply confirms anything about the issue above. I've never used nbshell before.
|
Beta Was this translation helpful? Give feedback.
-
Try that: sudo /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py nbshell
>>> from django.contrib.contenttypes.models import ContentType
>>> ct_qs = ContentType.objects.filter(app_label__icontains="phone")
>>> for ct in ct_qs:
... print(ct)
### ^^^ These will be removed, make sure its ok
>>> ct_qs.delete() |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Try that: