mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
10 lines
No EOL
316 B
Python
10 lines
No EOL
316 B
Python
from celery import Task
|
|
from django.contrib.auth.models import User
|
|
from apps.notifications.models import MUserFeedNotification
|
|
from utils import log as logging
|
|
|
|
|
|
class QueueNotifications(Task):
|
|
|
|
def run(self, feed_id, new_stories):
|
|
MUserFeedNotification.push_feed_notifications(feed_id, new_stories) |