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

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

src/m/o/moztrap-HEAD/moztrap/view/manage/suites/forms.py   moztrap(Download)
        )
    product = mtforms.MTModelChoiceField(
        queryset=model.Product.objects.all(),
        choice_attrs=lambda p: {"data-product-id": p.id})
 

src/m/o/moztrap-HEAD/moztrap/view/manage/products/views.py   moztrap(Download)
        "manage/product/products.html",
        {
            "products": model.Product.objects.all(),
            }
        )