You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
436 B

#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)