mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #8408 -- Added ModelAdmin.show_full_result_count to avoid COUNT() query.
Thanks lidaobing for the suggestion.
This commit is contained in:
committed by
Tim Graham
parent
d1ca70110f
commit
17557d068c
@@ -327,6 +327,7 @@ class LanguageAdmin(admin.ModelAdmin):
|
||||
|
||||
|
||||
class RecommendationAdmin(admin.ModelAdmin):
|
||||
show_full_result_count = False
|
||||
search_fields = ('=titletranslation__text', '=recommender__titletranslation__text',)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user