Did I find the right examples for you? yes no

All Samples(23)  |  Call(9)  |  Derive(0)  |  Import(14)

src/d/j/django-mass-post-office-0.0.9/mass_post_office/tests/test_models.py   django-mass-post-office(Download)
from django.test import TestCase
 
from ..models import MailingList, SubscriptionSettings, MassEmail
 
from .factories import UserFactory
    def test_mailing_list(self):
        ml = MailingList(
            name='Some name',
            user_should_be_agree=True,
            all_users=True,
        # all users withoul user_should_be_agree -> Failure
        ml = MailingList(
            name='Some name',
            user_should_be_agree=False,
            all_users=True,
        # all users and or_list
        ml = MailingList(
            name='Some name',
            user_should_be_agree=True,
            all_users=True,
        user = UserFactory()
        ml = MailingList(
            name='Some name',
            user_should_be_agree=True,
            all_users=True,

src/d/j/django-kiki-HEAD/kiki/admin.py   django-kiki(Download)
from django.contrib import admin
from django import forms
from models import MailingList, ListUserMetadata, Message, ListMessage
 
 

src/d/j/django-mass-post-office-0.0.9/mass_post_office/admin.py   django-mass-post-office(Download)
# -*- coding: utf-8 -*-
from django.contrib import admin
from django.core.urlresolvers import reverse
 
from .models import MailingList, SubscriptionSettings, MassEmail

src/p/g/pgweb-HEAD/pgweb/lists/views.py   pgweb(Download)
from pgweb.mailqueue.util import send_simple_mail
 
from models import MailingList, MailingListGroup
from forms import SubscribeForm
 

src/p/g/pgweb-HEAD/pgweb/lists/admin.py   pgweb(Download)
from django.contrib import admin
from models import MailingList, MailingListGroup
 
admin.site.register(MailingListGroup)
admin.site.register(MailingList)

src/r/e/redsolutioncms.django-simple-feedback-0.4.1/feedback/forms.py   redsolutioncms.django-simple-feedback(Download)
from django.core.mail.message import EmailMessage
from django.forms import models
from models import MailingList, forms as form_list
 
class MailingListForm(models.ModelForm):
    def mail(self, request):
        from models import MailingList
 
        key = self.get_settings_key()
        try:

src/d/j/django-simple-feedback-HEAD/feedback/forms.py   django-simple-feedback(Download)
from django.core.mail.message import EmailMessage
from django.forms import models
from models import MailingList, forms as form_list
 
class MailingListForm(models.ModelForm):
    def mail(self, request):
        from models import MailingList
 
        key = self.get_settings_key()
        try:

src/r/e/redsolutioncms.django-simple-feedback-0.4.1/feedback/admin.py   redsolutioncms.django-simple-feedback(Download)
#-*- coding: utf-8 -*-
from django.contrib import admin
from django.contrib.admin.options import ModelAdmin
from models import MailingList, FeedbackEmail
from forms import MailingListForm

src/d/j/django-simple-feedback-HEAD/feedback/admin.py   django-simple-feedback(Download)
#-*- coding: utf-8 -*-
from django.contrib import admin
from django.contrib.admin.options import ModelAdmin
from models import MailingList, FeedbackEmail
from forms import MailingListForm

src/p/g/pgweb-HEAD/pgweb/lists/forms.py   pgweb(Download)
from django import forms
 
from models import MailingList
 
class SubscribeForm(forms.Form):

  1 | 2  Next