Merge pull request #7566 from PieterL75/patch-1

Fix #7556 : NewVersion showing url
This commit is contained in:
Jeremy Stretch 2021-10-19 15:20:58 -04:00 committed by GitHub
commit 5c338a90a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@
* [#7534](https://github.com/netbox-community/netbox/issues/7534) - Avoid exception when utilizing "create and add another" twice in succession
* [#7544](https://github.com/netbox-community/netbox/issues/7544) - Fix multi-value filtering of custom field objects
* [#7545](https://github.com/netbox-community/netbox/issues/7545) - Fix incorrect display of update/delete events for webhooks
* [#7556](https://github.com/netbox-community/netbox/issues/7556) - Fix display of New Version
---

View File

@ -137,7 +137,7 @@ class HomeView(View):
release_version, release_url = latest_release
if release_version > version.parse(settings.VERSION):
new_release = {
'version': str(latest_release),
'version': str(release_version),
'url': release_url,
}