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

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

src/t/e/tendenci-5.1.333/tendenci/addons/corporate_memberships/utils.py   tendenci(Download)
                                        CorpMembership)
    summary = []
    corp_memb_types = CorporateMembershipType.objects.all()
    total_active = 0
    total_pending = 0
def get_summary():
    from tendenci.addons.corporate_memberships.models import CorporateMembershipType, CorporateMembership
    now = datetime.now()
    summary = []
    types = CorporateMembershipType.objects.all()

src/t/e/tendenci-5.1.333/tendenci/addons/corporate_memberships/management/commands/clean_corporate_memberships.py   tendenci(Download)
 
        [admin] = User.objects.filter(is_superuser=True).order_by('id')[:1] or [None]
        for corp_membership_type in CorporateMembershipType.objects.all():
            membership_type = corp_membership_type.membership_type
            grace_period = membership_type.expiration_grace_period