mamweb/galerie/forms.py

12 lines
407 B
Python
Raw Normal View History

#coding: utf-8
from django import forms
from seminar.models import Soustredeni
class KomentarForm(forms.Form):
2019-05-11 01:15:05 +02:00
komentar = forms.CharField(label = "Komentář:", max_length = 300, required=False)
class NewGalerieForm(forms.Form):
2019-05-11 01:15:05 +02:00
nazev = forms.CharField(label = "Název galerie", max_length = 100)
#popis = forms.CharField(label = "Popis", required = False, max_length = 2000, widget = forms.Textarea)