Did I find the right examples for you? yes no

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

src/s/i/sikteeri-HEAD/membership/models.py   sikteeri(Download)
from django.contrib.contenttypes.models import ContentType
 
from utils import log_change, tupletuple_to_dict
 
from email_utils import send_as_email, send_preapprove_email, send_duplicate_payment_notice
                ('O', _('Organization')),
                ('H', _('Honorary')))
MEMBER_TYPES_DICT = tupletuple_to_dict(MEMBER_TYPES)
 
MEMBER_STATUS = (('N', _('New')),
                 ('I', _('Dissociated')),
                 ('D', _('Deleted')))
MEMBER_STATUS_DICT = tupletuple_to_dict(MEMBER_STATUS)
 
BILL_TYPES = (
('E', _('Email')),
('P', _('Paper')),
('S', _('SMS'))
)
BILL_TYPES_DICT = tupletuple_to_dict(BILL_TYPES)