Merge #27 (duplication fix)
This commit is contained in:
commit
1c01c27326
3
.gitignore
vendored
3
.gitignore
vendored
@ -109,6 +109,9 @@ venv/
|
|||||||
ENV/
|
ENV/
|
||||||
env.bak/
|
env.bak/
|
||||||
venv.bak/
|
venv.bak/
|
||||||
|
Vagrantfile
|
||||||
|
.vagrant
|
||||||
|
ubuntu-xenial-16.04-cloudimg-console.log
|
||||||
|
|
||||||
# Spyder project settings
|
# Spyder project settings
|
||||||
.spyderproject
|
.spyderproject
|
||||||
|
@ -152,12 +152,6 @@ class Service(models.Model):
|
|||||||
.order_by("-count")
|
.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"))[
|
avg_load_time = hits.aggregate(load_time__avg=models.Avg("load_time"))[
|
||||||
"load_time__avg"
|
"load_time__avg"
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user