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

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

src/t/e/tendenci-5.1.333/tendenci/addons/corporate_memberships/views.py   tendenci(Download)
from tendenci.core.event_logs.models import EventLog
 
from tendenci.addons.corporate_memberships.models import (
                                            CorpMembershipApp,
                                            CorpMembershipRep,
 
    if can_edit:
        app_field = CorpMembershipAppField(label='Join Date',
                                            field_name='join_dt',
                                            required=True)
        app_fields.append(app_field)
        app_field = CorpMembershipAppField(label='Expiration Date',
                                            required=True)
        app_fields.append(app_field)
        app_field = CorpMembershipAppField(label='Representatives',
                                    field_type='section_break',
                                    admin_only=False)
        app_fields.append(app_field)
        app_field = CorpMembershipAppField(label='Reps',

src/t/e/tendenci-5.1.333/tendenci/addons/corporate_memberships/forms.py   tendenci(Download)
from tendenci.addons.memberships.fields import NoticeTimeTypeField
from tendenci.addons.corporate_memberships.widgets import NoticeTimeTypeWidget
from tendenci.addons.corporate_memberships.models import (
    CorporateMembershipType,
    CorpMembership,

src/t/e/tendenci-5.1.333/tendenci/addons/corporate_memberships/admin.py   tendenci(Download)
from django.shortcuts import get_object_or_404, redirect
 
from tendenci.addons.corporate_memberships.models import (
    CorporateMembershipType,
    CorpMembershipApp,

src/t/e/tendenci-5.1.333/tendenci/addons/corporate_memberships/utils.py   tendenci(Download)
def get_notice_token_help_text(notice=None):
    """Get the help text for how to add the token in the email content,
        and display a list of available token.
    """
    from tendenci.addons.corporate_memberships.models import (