mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-19 11:52:22 -06:00
* Closes #15908: Establish canonical & local sources for release info * Update references to settings.VERSION
This commit is contained in:
@@ -53,7 +53,7 @@ def handle_rest_api_exception(request, *args, **kwargs):
|
||||
data = {
|
||||
'error': str(error),
|
||||
'exception': type_.__name__,
|
||||
'netbox_version': settings.VERSION,
|
||||
'netbox_version': settings.RELEASE.full_version,
|
||||
'python_version': platform.python_version(),
|
||||
}
|
||||
return JsonResponse(data, status=status.HTTP_500_INTERNAL_SERVER_ERROR)
|
||||
|
||||
Reference in New Issue
Block a user