Permalink
Browse files

only yield actual users

  • Loading branch information...
1 parent ca46242 commit 582597b7b85d721f0cbb54ede857f0b58842e249 @lukeman lukeman committed Dec 20, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 symposion/schedule/models.py
@@ -139,7 +139,8 @@ def proposal(self):
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)

0 comments on commit 582597b

Please sign in to comment.