From 39bf113c0f59b3de60814e93c2ccacc8a2a70bc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lie=20Bouttier?= Date: Tue, 12 Jul 2016 16:16:40 +0200 Subject: [PATCH] small improvement --- accounts/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/accounts/models.py b/accounts/models.py index d386913..db8c271 100644 --- a/accounts/models.py +++ b/accounts/models.py @@ -77,5 +77,4 @@ class Participation(PonyConfModel): @property def topic_set(self): - from proposals.models import Topic - return Topic.objects.filter(site=self.site, reviewers=self.user) + return self.user.topic_set.filter(site=self.site)