from django import forms from soustredeni.models import Soustredeni class KomentarForm(forms.Form): komentar = forms.CharField(label = "Komentář:", max_length = 300, required=False) class NewGalerieForm(forms.Form): nazev = forms.CharField(label = "Název galerie", max_length = 100) #popis = forms.CharField(label = "Popis", required = False, max_length = 2000, widget = forms.Textarea)