From 582597b7b85d721f0cbb54ede857f0b58842e249 Mon Sep 17 00:00:00 2001 From: Luke Hatcher Date: Thu, 20 Dec 2012 01:55:14 -0500 Subject: [PATCH] only yield actual users --- symposion/schedule/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/symposion/schedule/models.py b/symposion/schedule/models.py index ab422948..ed1ff439 100644 --- a/symposion/schedule/models.py +++ b/symposion/schedule/models.py @@ -139,7 +139,8 @@ class Presentation(models.Model): def speakers(self): yield self.speaker for speaker in self.additional_speakers.all(): - yield speaker + if speaker.user: + yield speaker def __unicode__(self): return "#%s %s (%s)" % (self.number, self.title, self.speaker)