aboutsummaryrefslogtreecommitdiff
path: root/settings.py
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2015-11-30 13:38:27 -0600
committerAndy Doan <andy.doan@linaro.org>2015-11-30 13:39:39 -0600
commit54465b6f5a6bacc7e1c6a510dc132419460ee3c6 (patch)
tree01789e81a0b64092e3caee850ef1974944637f1d /settings.py
parent3bfc0797969f4acc8c8845588c5b6882b89332a3 (diff)
reports: Minor fixes for issues found in production
This fixes 2 issues: 1) ignore the Yandex web crawler. I found this while looking at our download logs 2) don't show reports for items not yet populated with a country/isp. This needs to get filled in by a management command I'm about to send out for review. Change-Id: Ia79d7d3e89420b5ea22315dfabc1f66a4fa08758
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/settings.py b/settings.py
index fd168f7..fc22af3 100644
--- a/settings.py
+++ b/settings.py
@@ -267,7 +267,10 @@ TAB_PRIORITY = ['Release Notes',
'OpenJDK']
BASE_PAGE = 'header.html'
-BOT_USER_AGENTS = ['Googlebot/2', 'bingbot/2', 'Yahoo! Slurp', 'Baiduspider/2']
+BOT_USER_AGENTS = [
+ 'Googlebot/2', 'bingbot/2', 'Yahoo! Slurp', 'Baiduspider/2',
+ 'YandexBot/3.0',
+]
MASTER_API_KEY = ""
TRACK_DOWNLOAD_STATS = False