This repository has been archived on 2026-09-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Netbox-Prefixes/netbox_site_prefix/__init__.py
T
MrBlakeandClaude Sonnet 5 5314098b6c Feat: support NetBox 4.7.x
Raises max_version to 4.7.99 after confirming the plugin uses no APIs
removed in 4.7 (RelatedLinkColumn, registry['models']).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-17 09:17:30 +02:00

22 lines
516 B
Python

from netbox.plugins import PluginConfig
class SitePrefixConfig(PluginConfig):
name = "netbox_site_prefix"
verbose_name = "NetBox Site Prefix"
author = "LKE"
description = "Shows the first word of the site name in device and rack tables."
version = "1.0.1"
min_version = "4.6.5"
max_version = "4.7.99"
def ready(self):
super().ready()
# Importing the module registers its columns with NetBox.
from . import tables # noqa: F401
config = SitePrefixConfig