include keynote in presentation slots, release, bump dev version

This commit is contained in:
Luke Hatcher 2013-02-01 00:50:42 -05:00
parent 9e2d42f972
commit c582b2b3e2
2 changed files with 3 additions and 2 deletions

View file

@ -1 +1 @@
__version__ = "1.0b1.dev52"
__version__ = "1.0b1.dev53"

View file

@ -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()