mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
set nav-tab name
This commit is contained in:
parent
117baa72eb
commit
a5c7676be6
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user