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