vkk.workhours.accounting.departments.forms

1from django.forms import Form, ModelMultipleChoiceField, SelectMultiple
2from vkk.models import Period
3
4
5class EvaluationForm(Form):
6    periods = ModelMultipleChoiceField(
7        widget=SelectMultiple(attrs={"style":"height: auto;"}),
8        queryset=Period.objects.all().order_by('-start')
9    )
class EvaluationForm(django.forms.forms.Form):
 6class EvaluationForm(Form):
 7    periods = ModelMultipleChoiceField(
 8        widget=SelectMultiple(attrs={"style":"height: auto;"}),
 9        queryset=Period.objects.all().order_by('-start')
10    )

A collection of Fields, plus their associated data.

media

Return all media required to render the widgets on this form.

Inherited Members
django.forms.forms.BaseForm
BaseForm
order_fields
errors
is_valid
add_prefix
add_initial_prefix
get_context
non_field_errors
add_error
has_error
full_clean
clean
has_changed
changed_data
is_multipart
hidden_fields
visible_fields
get_initial_for_field
django.forms.utils.RenderableFormMixin
as_p
as_table
as_ul
as_div
django.forms.utils.RenderableMixin
render