mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Include 404 URL in response
This commit is contained in:
		| @@ -58,7 +58,8 @@ class NotFoundView(AjaxView): | |||||||
|     def get(self, request, *args, **kwargs): |     def get(self, request, *args, **kwargs): | ||||||
|  |  | ||||||
|         data = { |         data = { | ||||||
|             'details': _('API endpoint not found') |             'details': _('API endpoint not found'), | ||||||
|  |             'url': request.build_absolute_uri(), | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         return JsonResponse(data, status=404) |         return JsonResponse(data, status=404) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user