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