mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
set nav-tab name
This commit is contained in:
@ -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