From c582b2b3e23e4a10315598baeed353d2784f4749 Mon Sep 17 00:00:00 2001 From: Luke Hatcher Date: Fri, 1 Feb 2013 00:50:42 -0500 Subject: [PATCH] include keynote in presentation slots, release, bump dev version --- symposion/__init__.py | 2 +- symposion/schedule/forms.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/symposion/__init__.py b/symposion/__init__.py index b3f75a4c..97a45f66 100644 --- a/symposion/__init__.py +++ b/symposion/__init__.py @@ -1 +1 @@ -__version__ = "1.0b1.dev52" +__version__ = "1.0b1.dev53" diff --git a/symposion/schedule/forms.py b/symposion/schedule/forms.py index d6be26fc..63316743 100644 --- a/symposion/schedule/forms.py +++ b/symposion/schedule/forms.py @@ -11,7 +11,8 @@ class SlotEditForm(forms.Form): def __init__(self, *args, **kwargs): self.slot = kwargs.pop("slot") super(SlotEditForm, self).__init__(*args, **kwargs) - if self.slot.kind.label in ["talk", "tutorial"]: + # @@@ TODO - Make this configurable + if self.slot.kind.label in ["talk", "tutorial", "keynote"]: self.fields["presentation"] = self.build_presentation_field() else: self.fields["content_override"] = self.build_content_override_field()