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

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

src/p/i/pinax-tracker-HEAD/apps/dashboard/templatetags/dashboard_tags.py   pinax-tracker(Download)
def get_notices(context, user, asvar=None):
    notice_types = NoticeType.objects.all()
    val = Notice.objects.notices_for(user, on_site=True)
    if asvar:
        context[asvar] = val

src/b/t/btb-HEAD/scanblog/subscriptions/views.py   btb(Download)
            variable called ``form_label``, whose valid value is ``on``.
    """
    notice_types = NoticeType.objects.all()
    settings_table = []
    for notice_type in notice_types:
    # damage.  (The main worry would be a moderator forwarding an email
    # unknowingly).
    for nt in NoticeType.objects.all():
        ns, created = NoticeSetting.objects.get_or_create(
                user=request.user,

src/m/y/mycogia.com-HEAD/apps/pinax/fixtures/generate/gen_notification.py   mycogia.com(Download)
def generate():
    for user in User.objects.all():
        for notice_type in NoticeType.objects.all():
            en = random.random() <= 0.1
            notice_setting = NoticeSetting.objects.create(

src/c/h/Chipy-HEAD/pinax/fixtures/generate/gen_notification.py   Chipy(Download)
def generate():
    for user in User.objects.all():
        for notice_type in NoticeType.objects.all():
            en = random.random() <= 0.1
            notice_setting = NoticeSetting.objects.create(

src/d/j/django-notification-1.1.1/notification/views.py   django-notification(Download)
            variable called ``form_label``, whose valid value is ``on``.
    """
    notice_types = NoticeType.objects.all()
    settings_table = []
    for notice_type in notice_types:

src/s/m/smeuhsocial-HEAD/tests/test_notification_templates.py   smeuhsocial(Download)
def run():
 
    for notice_type in NoticeType.objects.all():
        label = notice_type.label
        print "-" * 72

src/h/u/hubplus-HEAD/tests/test_notification_templates.py   hubplus(Download)
def run():
 
    for notice_type in NoticeType.objects.all():
        label = notice_type.label
        print "-" * 72

src/p/i/pinax-compass-integration-HEAD/tests/test_notification_templates.py   pinax-compass-integration(Download)
def run():
 
    for notice_type in NoticeType.objects.all():
        label = notice_type.label
        print "-" * 72

src/m/y/mycogia.com-HEAD/tests/test_notification_templates.py   mycogia.com(Download)
def run():
 
    for notice_type in NoticeType.objects.all():
        label = notice_type.label
        print "-" * 72

src/c/h/Chipy-HEAD/tests/test_notification_templates.py   Chipy(Download)
def run():
 
    for notice_type in NoticeType.objects.all():
        label = notice_type.label
        print "-" * 72

  1 | 2  Next