You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+51-1Lines changed: 51 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ The following table shows the compatibility between different NetBox versions an
25
25
| >= 4.1.0 | 6.x.x |
26
26
| >= 4.2.0 | 7.x.x |
27
27
| >= 4.3.0 | 8.x.x |
28
+
| >= 4.4.0 | 9.x.x |
28
29
29
30
## Installation
30
31
@@ -57,6 +58,22 @@ Restart NetBox and ensure that `netbox-attachments` is included in your `local_r
57
58
58
59
For more details, see the [NetBox Documentation](https://docs.netbox.dev/en/stable/plugins/#installing-plugins).
59
60
61
+
## NetBox 4.4 Compatibility Changes
62
+
63
+
Starting from version 9.0.0, the plugin has been updated for full NetBox 4.4 compatibility with the following changes:
64
+
65
+
### Template Extension Updates
66
+
-**Models Attribute**: Updated template extensions to use the `models` list attribute instead of the deprecated `model` attribute for NetBox 4.x compatibility.
67
+
-**Error Handling**: Improved error handling for template rendering when object types are missing.
68
+
-**Template Panel Rendering**: Fixed AttributeError issues in `render_attachment_panel` function for proper template extension compatibility.
69
+
70
+
### API and URL Improvements
71
+
-**Bulk Action URLs**: Added proper URL patterns for bulk edit and bulk delete operations.
-**Default Return URLs**: Enhanced navigation flow after bulk operations.
74
+
75
+
These changes ensure the plugin works seamlessly with NetBox 4.4 while maintaining all core attachment functionality and improving the user experience.
76
+
60
77
61
78
## New Validation Checks
62
79
@@ -104,17 +121,50 @@ The plugin can be customized using the following configuration options:
104
121
-**Description**: Override the display settings for specific models.
105
122
-**Tip**: Use the correct `app_label` and `model` names, which can be found in the API at `<your_netbox_url>/api/extras/content-types/`.
106
123
107
-
> ~~**Warning**: The `additional_tab` option does not work for plugin models.~~
124
+
125
+
## API Usage
126
+
127
+
Since the import functionality has been removed, you can use the NetBox API to programmatically manage attachments:
>**Note**: `plugin_name` refers to the plugin slug used in URLs (often hyphenated), which may differ from the Python package/module name.
167
+
>
118
168
> By doing so, the system will automatically include the Changelog, Journal, and other registered tabs (such as Attachments) when `additional_tab`is enabled.
0 commit comments