You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in favor of this feature, but I'd recommend that instead of adding a separate plugin parameter to the API, we instead check whether the provided instance's app_label is a native app or a plugin app, and automatically derive the correct reversed viewname accordingly - see #293 for an example fix to a similar issue.
@glennmatthews Thanks for the suggestion. Implemented that and this helped me get rid of custom HTML for the list view and just use everything builtin.
Environment
Proposed Functionality
Allow plugin authors to use the builtin buttons.
I spoke with @jathanism on this and he agreed with adding a
plugin
field to these buttons that would prepend on the_get_viewname
function.An example:
This would allow plugin authors to reuse this code within HTML templates for views.
Also what may help is the following template snippet:
If this is accepted by the other maintainers, I can do the work to submit a PR to get this feature implemented.
Use Case
Developing a plugin and attempting to re-use as much code provided by Nautobot.
The text was updated successfully, but these errors were encountered: