Permalink
Browse files

Merge branch 'hotfix-1.1.3'

  • Loading branch information...
2 parents 5e976a6 + aaefc68 commit 6d47050cf30f333bb2f7b3ca8d31ef8a0f2be856 @brosner brosner committed Jan 26, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 pycon_project/apps/user_mailer/user_lists.py
@@ -38,6 +38,17 @@ def accepted_panel_speakers():
return iter(speakers)
+def accepted_tutorial_speakers():
+ speakers = set()
+ panels = Session.objects.filter(session_type=Session.SESSION_TYPE_TUTORIAL)
+
+ for session in panels.select_related("speaker__user"):
+ for speaker in session.speakers():
+ if speaker is not None and speaker.user is not None:
+ speakers.add(speaker.user)
+ return iter(speakers)
+
+
def organizers():
for user in User.objects.filter(is_staff=True):
yield user
@@ -62,6 +73,7 @@ def fivesixsix():
accepted_speakers,
accepted_talk_speakers,
accepted_panel_speakers,
+ accepted_tutorial_speakers,
organizers,
reviewers,
reviewers_tutorial,

0 comments on commit 6d47050

Please sign in to comment.