Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/d/j/django_divan-0.2.4/src/divan/forms.py   django_divan(Download)
        forms.ModelChoiceField, {}
    ),
    BaseOption.INPUT_TINYMCE: (
        forms.CharField, {
            'widget': TinyMCE    
        FieldClass, opts = field_and_kwargs[option.input_method]
        kwargs.update(opts)
        if option.input_method != BaseOption.INPUT_TINYMCE:
            kwargs['queryset'] = getattr(option, option._divan.choice_related_name).all()
    help_text = getattr(option, 'help_text', None)