mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
16 lines
363 B
Python
16 lines
363 B
Python
"""Sample implementation for IntegrationPlugin"""
|
|
from plugin import InvenTreePlugin
|
|
from plugin.mixins import UrlsMixin
|
|
|
|
|
|
class NoIntegrationPlugin(InvenTreePlugin):
|
|
"""A basic plugin"""
|
|
|
|
NAME = "NoIntegrationPlugin"
|
|
|
|
|
|
class WrongIntegrationPlugin(UrlsMixin, InvenTreePlugin):
|
|
"""A basic wron plugin with urls"""
|
|
|
|
NAME = "WrongIntegrationPlugin"
|