symposion_app/symposion/schedule/forms.py

12 lines
259 B
Python
Raw Normal View History

2012-08-31 03:24:08 +00:00
from django import forms
from symposion.schedule.models import Slot, Presentation
class SlotEditForm(forms.Form):
presentation = forms.ModelChoiceField(
queryset=Presentation.objects.filter(slot__isnull=True),
required=True,
)