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

All Samples(10)  |  Call(4)  |  Derive(0)  |  Import(6)

src/m/e/mediagoblin-0.6.1/mediagoblin/notifications/__init__.py   mediagoblin(Download)
import logging
 
from mediagoblin.db.models import Notification, \
        CommentNotification, CommentSubscription, User
from mediagoblin.notifications.task import email_notification_task
    if not cn:
        cn = CommentSubscription(
            user_id=user.id,
            media_entry_id=media_entry.id)
 

src/j/o/JoshuaGoblin-HEAD/mediagoblin/notifications/__init__.py   JoshuaGoblin(Download)
import logging
 
from mediagoblin.db.models import Notification, \
        CommentNotification, CommentSubscription, User
from mediagoblin.notifications.task import email_notification_task
    if not cn:
        cn = CommentSubscription(
            user_id=user.id,
            media_entry_id=media_entry.id)
 

src/m/e/mediagoblin-0.6.1/mediagoblin/tests/tools.py   mediagoblin(Download)
 
from mediagoblin import mg_globals
from mediagoblin.db.models import User, MediaEntry, Collection, MediaComment, \
    CommentSubscription, CommentNotification, Privilege, CommentReport
from mediagoblin.tools import testing
 
    cs = CommentSubscription(
        media_entry_id=entry.id,
        user_id=entry.uploader,
        notify=notify,

src/j/o/JoshuaGoblin-HEAD/mediagoblin/tests/tools.py   JoshuaGoblin(Download)
 
from mediagoblin import mg_globals
from mediagoblin.db.models import User, MediaEntry, Collection, MediaComment, \
    CommentSubscription, CommentNotification, Privilege, CommentReport
from mediagoblin.tools import testing
 
    cs = CommentSubscription(
        media_entry_id=entry.id,
        user_id=entry.uploader,
        notify=notify,

src/j/o/JoshuaGoblin-HEAD/mediagoblin/tests/test_notifications.py   JoshuaGoblin(Download)
from mediagoblin.tools import template, mail
 
from mediagoblin.db.models import Notification, CommentNotification, \
        CommentSubscription
from mediagoblin.db.base import Session

src/m/e/mediagoblin-0.6.1/mediagoblin/tests/test_notifications.py   mediagoblin(Download)
from mediagoblin.tools import template, mail
 
from mediagoblin.db.models import Notification, CommentNotification, \
        CommentSubscription
from mediagoblin.db.base import Session