forked from danidee10/Chatire
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated chatire to conform to the new api of django-notifs
- Loading branch information
Showing
5 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
"""Initialize celery.""" | ||
|
||
from __future__ import absolute_import, unicode_literals | ||
|
||
from .celery import app as celery_app | ||
|
||
__all__ = ['celery_app'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
"""Celery init.""" | ||
|
||
from __future__ import absolute_import, unicode_literals | ||
import os | ||
|
||
from celery import Celery | ||
|
||
|
||
# set the default Django settings module for the 'celery' program. | ||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'chatire.settings') | ||
|
||
app = Celery('chatire') | ||
app.config_from_object('django.conf:settings', namespace='CELERY') | ||
|
||
app.autodiscover_tasks() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
amqp==2.2.2 | ||
billiard==3.5.0.3 | ||
celery==4.1.0 | ||
Django==2.0.1 | ||
django-cors-headers==2.1.0 | ||
django-notifs==2.5.5 | ||
django-notifs==2.6.0 | ||
django-templated-mail==1.0.0 | ||
djangorestframework==3.7.7 | ||
djoser==1.1.5 | ||
gevent==1.2.2 | ||
greenlet==0.4.12 | ||
kombu==4.1.0 | ||
pika==0.11.2 | ||
pytz==2017.3 | ||
simplejson==3.13.2 | ||
six==1.11.0 | ||
uWSGI==2.0.15 | ||
uwsgitop==0.10 | ||
vine==1.1.4 |