2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 11:35:41 +00:00

set nav-tab name

This commit is contained in:
Matthias
2021-10-04 19:25:42 +02:00
parent 117baa72eb
commit a5c7676be6

View File

@ -15,6 +15,8 @@ class SampleIntegrationPlugin(SettingsMixin, UrlsMixin, NavigationMixin, Integra
PLUGIN_SLUG = "sample"
PLUGIN_TITLE = "Sample Plugin"
NAVIGATION_TAB_NAME = "Sample Nav"
def view_test(self, request):
"""very basic view"""
return HttpResponse(f'Hi there {request.user.username} this works')