Added logging about exluded region filtering (bug 855510)
This commit is contained in:
Родитель
8a4d0e6acb
Коммит
9f455523b3
|
@ -595,6 +595,8 @@ class Webapp(Addon):
|
||||||
if region:
|
if region:
|
||||||
excluded = cls.get_excluded_in(region)
|
excluded = cls.get_excluded_in(region)
|
||||||
if excluded:
|
if excluded:
|
||||||
|
log.info('Excluding the following IDs based on region %s: %s'
|
||||||
|
% (region.slug, excluded))
|
||||||
srch = srch.filter(~F(id__in=excluded))
|
srch = srch.filter(~F(id__in=excluded))
|
||||||
|
|
||||||
if mobile:
|
if mobile:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче