mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
renmae of plugin
This commit is contained in:
parent
c222b9c296
commit
4c8318440c
@ -4,12 +4,12 @@ from django.http import HttpResponse
|
|||||||
from django.utils.translation import ugettext_lazy as _
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
|
|
||||||
class SimpleIntegrationPlugin(SettingsMixin, UrlsMixin, IntegrationPlugin):
|
class SampleIntegrationPlugin(SettingsMixin, UrlsMixin, IntegrationPlugin):
|
||||||
"""
|
"""
|
||||||
An basic integration plugin
|
An full integration plugin
|
||||||
"""
|
"""
|
||||||
|
|
||||||
PLUGIN_NAME = "SimpleIntegrationPlugin"
|
PLUGIN_NAME = "SampleIntegrationPlugin"
|
||||||
|
|
||||||
def view_test(self, request):
|
def view_test(self, request):
|
||||||
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