Skip to content

Commit 8f73ec2

Browse files
committed
revert version + fix underscore bug
1 parent e5c2e9e commit 8f73ec2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ A netbox plugin providing floorplan mapping capability for locations and sites
2424
| 3.5 | >= 0.3.2 |
2525
| 3.6 | >= 0.3.2 |
2626
| 4.0.x | 0.4.1 |
27-
| 4.1.x | 0.5.0 |
2827

2928
## Installing
3029

@@ -43,6 +42,7 @@ Enable Migrations:
4342
cd /opt/netbox
4443
sudo ./venv/bin/python3 netbox/manage.py makemigrations netbox_floorplan_plugin
4544
sudo ./venv/bin/python3 netbox/manage.py migrate
45+
sudo ./venv/bin/python3 netbox/manage.py collectstatic
4646
```
4747

4848
Restart NetBox and add `netbox-floorplan-plugin` to your local_requirements.txt

netbox_floorplan/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ def file_upload(instance, filename):
55
"""
66
path = 'netbox-floorplan/'
77

8-
return f'{path}_{filename}'
8+
return f'{path}{filename}'

netbox_floorplan/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.5.0"
1+
__version__ = "0.4.1"

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ def get_version(rel_path):
3737
packages=find_packages(),
3838
include_package_data=True,
3939
zip_safe=False,
40-
min_version="4.1.0",
41-
max_version="4.1.99"
40+
min_version="4.0.0",
41+
max_version="4.0.99"
4242
)

0 commit comments

Comments
 (0)