Error : No activity Logs in web

Hi ,

The error logs sent to sentry server from django app. Am getting below message in django logs , but there is no activity logs in web portal.

DEBUG 2018-06-28 14:37:15,338 base 22132 139760548886272 Sending message of length 2566 to http://**...:9000/api/2/store/

Am following the below document to configure python-django.

Also where i add the below line (settings or views ).

from raven.contrib.django.raven_compat.models import client

if i add the line in views file getting AttributeError in python.

Correct me if am going to the wrong way - ( sentry configuration ).