Skip to content
This repository was archived by the owner on May 23, 2020. It is now read-only.

Commit 65e0cc9

Browse files
committed
Update views.py
1 parent f9479fe commit 65e0cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update-1.1/blog/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def get_client_ip(self):
3333

3434
def tracking_hit_post(self):
3535
entry = self.model.objects.get(pk=self.object.id)
36-
filter_dns = ['googlebot'] #this such as google boot
36+
filter_dns = ['googlebot', 'yahoo', 'bing','solidseodedicated'] #this such as google boot, or other boot.
3737

3838
try:
3939
models.Entry_Views.objects.get(entry=entry, ip=self.get_client_ip(), session=self.request.session.session_key)

0 commit comments

Comments
 (0)