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/t/e/tendenci-5.1.333/tendenci/addons/corporate_memberships/utils.py   tendenci(Download)
    else:
        membership_types = CorporateMembershipType.objects.filter(
                                             status=True,
                                             status_detail='active')
 

src/t/e/tendenci-5.1.333/tendenci/addons/corporate_memberships/import_processor.py   tendenci(Download)
            if not value and field.name == 'corporate_membership_type':
                [value] = CorporateMembershipType.objects.filter(
                                            name=orignal_value)[:1] or [None]
 
            if not value and not field.null: