From cb460e10c2c19f766279211cc39c42200d6be3a6 Mon Sep 17 00:00:00 2001 From: Etzelia Date: Thu, 18 Oct 2018 16:44:32 +0200 Subject: [PATCH] IP Cleanup Removed filtered IPs from player.ips property --- models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models.py b/models.py index aef5972..1da59f0 100644 --- a/models.py +++ b/models.py @@ -170,7 +170,7 @@ class Player(models.Model): @property def ips(self): ips = [] - query = IP.objects.filter(player=self) + query = IP.api.filter(player=self) for q in query: ips.append(q.ip) return " ".join(ips)