Skip to content

Commit 38c70ba

Browse files
committed
Update plugin configuration and version
- Removed unused __email__ import in __init__.py - Updated plugin version to 4.0.1 in version.py
1 parent f0f9b36 commit 38c70ba

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed
Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
11
"""Top-level package for Cesnet ServicePath Plugin."""
22

33
from netbox.plugins import PluginConfig
4-
from .version import __version__, __author__, __email__, __description__, __name__
4+
from .version import __version__, __author__, __description__, __name__
55

66

77
class CesnetServicePathPluginConfig(PluginConfig):
88
name = __name__
99
verbose_name = "Cesnet ServicePath Plugin"
1010
description = __description__
1111
version = __version__
12+
author = __author__
1213
base_url = "cesnet-service-path-plugin"
1314

15+
def ready(self):
16+
# Call the original ready method
17+
super().ready()
18+
19+
from netbox.models.features import register_models
20+
21+
register_models(*self.get_models())
22+
1423

1524
config = CesnetServicePathPluginConfig
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Jan Krupa"
22
__email__ = "[email protected]"
3-
__version__ = "4.0.0"
3+
__version__ = "4.0.1"
44
__description__ = "Adds ability to create service path in the CESNET network."
55
__name__ = "cesnet_service_path_plugin"

0 commit comments

Comments
 (0)