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

All Samples(9)  |  Call(1)  |  Derive(0)  |  Import(8)

src/t/e/tendenci-5.1.333/tendenci/addons/campaign_monitor/utils.py   tendenci(Download)
from createsend import Template as CST
 
from tendenci.addons.campaign_monitor.models import Campaign, Template
from tendenci.core.site_settings.utils import get_setting
 
            template = Template.objects.get(template_id = t.TemplateID)
        except Template.DoesNotExist:
            template = Template(template_id = t.TemplateID)
            template.name = t.Name
            template.cm_preview_url = t.PreviewURL

src/t/e/tendenci-5.1.333/tendenci/addons/campaign_monitor/management/commands/sync_campaign_monitor.py   tendenci(Download)
    def handle(self, *args, **options):
        from tendenci.apps.user_groups.models import Group
        from tendenci.apps.profiles.models import Profile
        from tendenci.addons.campaign_monitor.models import (ListMap, Campaign, Template, setup_custom_fields)
        from tendenci.addons.campaign_monitor.utils import sync_campaigns, sync_templates

src/t/e/tendenci-5.1.333/tendenci/addons/campaign_monitor/forms.py   tendenci(Download)
from django.forms.extras.widgets import SelectDateWidget
from django.utils.translation import ugettext_lazy as _
from tendenci.addons.campaign_monitor.models import Template, Campaign, ListMap
from createsend import CreateSend
from createsend import Campaign as CSC

src/t/e/tendenci-5.1.333/tendenci/addons/campaign_monitor/templatetags/campaign_monitor_tags.py   tendenci(Download)
from django.conf import settings
 
from tendenci.addons.campaign_monitor.models import Template, Campaign
from tendenci.core.base.template_tags import ListNode, parse_tag_kwargs
 

src/t/e/tendenci-5.1.333/tendenci/addons/campaign_monitor/views.py   tendenci(Download)
from createsend.createsend import BadRequest
from tendenci.core.perms.utils import has_perm
from tendenci.addons.campaign_monitor.models import Template, Campaign
from tendenci.addons.campaign_monitor.forms import TemplateForm, CampaignForm
from tendenci.addons.campaign_monitor.utils import temporary_id, extract_files

src/t/e/tendenci-5.1.333/tendenci/addons/campaign_monitor/app_registry.py   tendenci(Download)
from tendenci.core.registry import site
from tendenci.core.registry.base import CoreRegistry, lazy_reverse
from tendenci.addons.campaign_monitor.models import Template, Campaign
 
 

src/t/e/tendenci-5.1.333/tendenci/addons/campaign_monitor/admin.py   tendenci(Download)
from django.contrib import admin
from tendenci.addons.campaign_monitor.models import Campaign, Template
from tendenci.addons.campaign_monitor.forms import CampaignForm, TemplateForm
 
 

src/t/e/tendenci-5.1.333/tendenci/core/newsletters/forms.py   tendenci(Download)
import datetime
from django import forms
from django.forms.extras.widgets import SelectDateWidget
from tendenci.addons.campaign_monitor.models import Template
from tendenci.core.newsletters.models import NewsletterTemplate