mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-18 04:56:29 -06:00
Reduce number of changelog entries to improve page loading time
This commit is contained in:
parent
d04626e75f
commit
070b41e694
@ -252,7 +252,7 @@ class HomeView(View):
|
|||||||
'search_form': SearchForm(),
|
'search_form': SearchForm(),
|
||||||
'stats': stats,
|
'stats': stats,
|
||||||
'report_results': ReportResult.objects.order_by('-created')[:10],
|
'report_results': ReportResult.objects.order_by('-created')[:10],
|
||||||
'changelog': ObjectChange.objects.prefetch_related('user', 'changed_object_type')[:50]
|
'changelog': ObjectChange.objects.prefetch_related('user', 'changed_object_type')[:15]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user