Initial commit

This commit is contained in:
Claude Paroz 2012-11-06 17:54:33 +01:00
commit 2d71deccae
18 changed files with 1385 additions and 0 deletions

12
stages/forms.py Normal file
View file

@ -0,0 +1,12 @@
from django import forms
from .models import Section, Period
class PeriodForm(forms.Form):
section = forms.ModelChoiceField(queryset=Section.objects.all())
period = forms.ModelChoiceField(queryset=None)
def __init__(self, data, *args, **kwargs):
pass