diff --git a/.gitignore b/.gitignore index 2a49d0a..f06c669 100644 --- a/.gitignore +++ b/.gitignore @@ -109,6 +109,9 @@ venv/ ENV/ env.bak/ venv.bak/ +Vagrantfile +.vagrant +ubuntu-xenial-16.04-cloudimg-console.log # Spyder project settings .spyderproject diff --git a/shynet/core/models.py b/shynet/core/models.py index 93a5cce..775f1f3 100644 --- a/shynet/core/models.py +++ b/shynet/core/models.py @@ -152,12 +152,6 @@ class Service(models.Model): .order_by("-count") ) - device_types = ( - sessions.values("device_type") - .annotate(count=models.Count("device_type")) - .order_by("-count") - ) - avg_load_time = hits.aggregate(load_time__avg=models.Avg("load_time"))[ "load_time__avg" ]