mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
9 lines
294 B
Python
9 lines
294 B
Python
from celery.task import task
|
|
from django.contrib.auth.models import User
|
|
from apps.notifications.models import MUserFeedNotification
|
|
from utils import log as logging
|
|
|
|
|
|
@task()
|
|
def QueueNotifications(feed_id, new_stories):
|
|
MUserFeedNotification.push_feed_notifications(feed_id, new_stories)
|