Closes #15908: Establish canonical & local sources for release info (#16420)

* Closes #15908: Establish canonical & local sources for release info

* Update references to settings.VERSION
This commit is contained in:
Jeremy Stretch
2024-06-07 13:41:48 -04:00
committed by GitHub
parent 1952d3e63a
commit c6bd714a04
15 changed files with 93 additions and 30 deletions

View File

@@ -329,7 +329,7 @@ class RSSFeedWidget(DashboardWidget):
try:
response = requests.get(
url=self.config['feed_url'],
headers={'User-Agent': f'NetBox/{settings.VERSION}'},
headers={'User-Agent': f'NetBox/{settings.RELEASE.version}'},
proxies=settings.HTTP_PROXIES,
timeout=3
)