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

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

src/t/e/tendenci-5.1.333/tendenci/apps/wp_exporter/utils.py   tendenci(Download)
        ct_resume = None
    try:
        from tendenci.addons.case_studies.models import CaseStudy
        ct_casestudy = ContentType.objects.get_for_model(CaseStudy)
    except ImportError:
        ct_resume = None
    try:
        from tendenci.addons.case_studies.models import CaseStudy
        ct_casestudy = ContentType.objects.get_for_model(CaseStudy)
    except ImportError:
def encode_casestudies(xml, offset=0):
    try:
        from tendenci.addons.case_studies.models import CaseStudy
        studies = CaseStudy.objects.filter(status=True)
        ct = ContentType.objects.get_for_model(CaseStudy)