Skip to content

Commit

Permalink
Merge pull request #30 from jasonyates/nb3.5
Browse files Browse the repository at this point in the history
Netbox 3.5 Fixes
  • Loading branch information
jasonyates authored Apr 28, 2023
2 parents b3f2f24 + f71bfae commit 350544f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.6.0 (2023-04-28)

* Fixes support for Netbox 3.5

## 0.5.0 (2023-01-24)

* Fix API Filtersets
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ A plugin designed to faciliate the storage of site, circuit, device type and dev

| NetBox Version | Plugin Version |
|----------------|----------------|
| 3.2+ | 0.5.0 |
| 3.5+ | 0.6.0 |
| 3.2.x - 3.4.x | 0.5.0 |


## Installation

A working installation of Netbox 3.2+ is required. 3.4+ is recommended.
A working installation of Netbox 3.2+ is required. 3.5+ is recommended. **NOTE: Netbox 3.5 introduced breaking changes for plugins, please use the correct plugin version for your netbox install.**

#### Package Installation from PyPi

Expand Down
4 changes: 2 additions & 2 deletions netbox_documents/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ class NetboxDocuments(PluginConfig):
name = 'netbox_documents'
verbose_name = 'Document Storage'
description = 'Manage site, circuit and device diagrams and documents in Netbox'
version = '0.5.0'
version = '0.6.0'
author = 'Jason Yates'
author_email = '[email protected]'
min_version = '3.2.0'
min_version = '3.5.0'
base_url = 'documents'
default_settings = {
"enable_site_documents": True,
Expand Down
2 changes: 1 addition & 1 deletion netbox_documents/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from netbox.forms import NetBoxModelForm, NetBoxModelFilterSetForm
from dcim.models import Site, Device, DeviceType
from circuits.models import Circuit
from utilities.forms import TagFilterField, CommentField, DynamicModelChoiceField
from utilities.forms.fields import TagFilterField, CommentField, DynamicModelChoiceField
from .models import SiteDocument, DeviceDocument, DeviceTypeDocument, CircuitDocument, CircuitDocTypeChoices, SiteDocTypeChoices, DeviceDocTypeChoices, DeviceTypeDocTypeChoices


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='netbox-documents',
version='0.5.0',
version='0.6.0',
description='Manage site, circuit and device diagrams and documents in Netbox',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 350544f

Please sign in to comment.