#coding: utf-8 from django import forms from seminar.models import Soustredeni class KomentarForm(forms.Form): komentar = forms.CharField(label = "Komentář:", max_length = 300, required=False) class NewGalerieForm(forms.Form): soustredeni = forms.ModelChoiceField(queryset = Soustredeni.objects, label = "Soustředění") # TODO zrusit a vybrat z URL nazev = forms.CharField(label = "Název galerie", max_length = 100)