summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py
index 6688031d..a38e9628 100644
--- a/main/models.py
+++ b/main/models.py
@@ -297,7 +297,7 @@ class Todolist(models.Model):
@property
def package_names(self):
- return '\n'.join([p.pkg.pkgname for p in self.packages])
+ return '\n'.join(set([p.pkg.pkgname for p in self.packages]))
class Meta:
db_table = 'todolists'