Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/o/p/Open-Knesset-HEAD/auxiliary/forms.py   Open-Knesset(Download)
from django import forms
from django.forms.widgets import HiddenInput
from django.utils.translation import ugettext_lazy as _
 
from .models import ICON_CHOICES, Tidbit, Feedback, TagSuggestion
class TidbitSuggestionForm(InstanceCreateSuggestionForm):
    title = forms.CharField(label=_('Title'), max_length=40,
                            initial=_('Did you know ?'))
    icon = forms.ChoiceField(label=_('Icon'), choices=ICON_CHOICES)
    content = forms.CharField(label=_('Content'),