mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 04:56:45 +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…
x
Reference in New Issue
Block a user