mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 09:55:28 +00:00
set nav-tab name
This commit is contained in:
1 file changed
+2
@@ -15,6 +15,8 @@ class SampleIntegrationPlugin(SettingsMixin, UrlsMixin, NavigationMixin, Integra
|
|||||||
PLUGIN_SLUG = "sample"
|
PLUGIN_SLUG = "sample"
|
||||||
PLUGIN_TITLE = "Sample Plugin"
|
PLUGIN_TITLE = "Sample Plugin"
|
||||||
|
|
||||||
|
NAVIGATION_TAB_NAME = "Sample Nav"
|
||||||
|
|
||||||
def view_test(self, request):
|
def view_test(self, request):
|
||||||
"""very basic view"""
|
"""very basic view"""
|
||||||
return HttpResponse(f'Hi there {request.user.username} this works')
|
return HttpResponse(f'Hi there {request.user.username} this works')
|
||||||
|
|||||||
Reference in new issue
Block a user