Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
list() -> new empty list
list(iterable) -> new list initialized from iterable's items

src/d/j/django-dash-0.4.4/src/dash/contrib/layouts/bootstrap2/forms.py   django-dash(Download)
 
from dash.contrib.plugins.url.forms import URLForm
from dash.contrib.layouts.bootstrap2.settings import IMAGE_CHOICES_WITH_EMPTY_OPTION
 
class URLBootstrapTwoForm(URLForm):
    def __init__(self, *args, **kwargs):
        super(URLBootstrapTwoForm, self).__init__(*args, **kwargs)
        self.fields['image'].choices = IMAGE_CHOICES_WITH_EMPTY_OPTION
 
 

src/d/j/django-dash-HEAD/src/dash/contrib/layouts/bootstrap2/forms.py   django-dash(Download)
 
from dash.contrib.plugins.url.forms import URLForm
from dash.contrib.layouts.bootstrap2.settings import IMAGE_CHOICES_WITH_EMPTY_OPTION
 
class URLBootstrapTwoForm(URLForm):
    def __init__(self, *args, **kwargs):
        super(URLBootstrapTwoForm, self).__init__(*args, **kwargs)
        self.fields['image'].choices = IMAGE_CHOICES_WITH_EMPTY_OPTION