Plugin development question #9993
-
Hi, I'm trying to develop a plugin by following https://github.com/netbox-community/netbox-plugin-tutorial. At the end of https://github.com/netbox-community/netbox-plugin-tutorial/blob/main/tutorial/step05-views.md You should be able to see the UI.
Anyone know why this is. I am starting to think this is an old tutorial? Because it seems that I do not have permissions to do this (I am superuser) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Nope, it's quite current.
The exception has nothing to do with permissions. The queryset you've defined for your view references a model that does not employ the RestrictedQuerySet manager. Compare your work to the branch for step 5 in the tutorial repo to see what's missing. |
Beta Was this translation helpful? Give feedback.
Nope, it's quite current.
The exception has nothing to do with permissions. The queryset you've defined for your view references a model that does not employ the RestrictedQuerySet manager. Compare your work to the branch for step 5 in the tutorial repo to see what's missing.