mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #14092: Remove backward compatibility for importing extras.plugins
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
from .navigation import *
|
|
||||||
from .registration import *
|
|
||||||
from .templates import *
|
|
||||||
from .utils import *
|
|
||||||
from netbox.plugins import PluginConfig
|
|
||||||
|
|
||||||
|
|
||||||
# TODO: Remove in v4.0
|
|
||||||
warnings.warn(f"{__name__} is deprecated. Import from netbox.plugins instead.", DeprecationWarning)
|
|
@@ -1,7 +0,0 @@
|
|||||||
import warnings
|
|
||||||
|
|
||||||
from netbox.plugins.navigation import *
|
|
||||||
|
|
||||||
|
|
||||||
# TODO: Remove in v4.0
|
|
||||||
warnings.warn(f"{__name__} is deprecated. Import from netbox.plugins instead.", DeprecationWarning)
|
|
@@ -1,7 +0,0 @@
|
|||||||
import warnings
|
|
||||||
|
|
||||||
from netbox.plugins.registration import *
|
|
||||||
|
|
||||||
|
|
||||||
# TODO: Remove in v4.0
|
|
||||||
warnings.warn(f"{__name__} is deprecated. Import from netbox.plugins instead.", DeprecationWarning)
|
|
@@ -1,7 +0,0 @@
|
|||||||
import warnings
|
|
||||||
|
|
||||||
from netbox.plugins.templates import *
|
|
||||||
|
|
||||||
|
|
||||||
# TODO: Remove in v4.0
|
|
||||||
warnings.warn(f"{__name__} is deprecated. Import from netbox.plugins instead.", DeprecationWarning)
|
|
@@ -1,7 +0,0 @@
|
|||||||
import warnings
|
|
||||||
|
|
||||||
from netbox.plugins.urls import *
|
|
||||||
|
|
||||||
|
|
||||||
# TODO: Remove in v4.0
|
|
||||||
warnings.warn(f"{__name__} is deprecated. Import from netbox.plugins instead.", DeprecationWarning)
|
|
@@ -1,7 +0,0 @@
|
|||||||
import warnings
|
|
||||||
|
|
||||||
from netbox.plugins.utils import *
|
|
||||||
|
|
||||||
|
|
||||||
# TODO: Remove in v4.0
|
|
||||||
warnings.warn(f"{__name__} is deprecated. Import from netbox.plugins instead.", DeprecationWarning)
|
|
@@ -1,7 +0,0 @@
|
|||||||
import warnings
|
|
||||||
|
|
||||||
from netbox.plugins.views import *
|
|
||||||
|
|
||||||
|
|
||||||
# TODO: Remove in v4.0
|
|
||||||
warnings.warn(f"{__name__} is deprecated. Import from netbox.plugins instead.", DeprecationWarning)
|
|
Reference in New Issue
Block a user