Merge 2 steps
This commit is contained in:
parent
94c53d2ab5
commit
46176b19fc
@ -132,10 +132,8 @@ class Service(models.Model):
|
||||
service=self, start_time__lt=end_time, start_time__gt=start_time
|
||||
)
|
||||
hit_count = hits.count()
|
||||
hits = Hit.objects.filter(
|
||||
service=self
|
||||
)
|
||||
has_hits = hits.exists()
|
||||
|
||||
has_hits = Hit.objects.filter(service=self).exists()
|
||||
|
||||
bounces = sessions.filter(is_bounce=True)
|
||||
bounce_count = bounces.count()
|
||||
|
Loading…
Reference in New Issue
Block a user