|
|
|
from django import forms
|
|
|
|
|
|
|
|
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)
|