Open
Description
I gave this package a shot, but could not get it work. Here are some of my notes:
- Created a repo and django project with a postgesdb.
- Created a "hello" app.
- Run the following code:
settings.py
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
Created the files test-notification_email_message.txt
, and test-notification_email_subject.txt
From the console.
from notifier.shortcuts import create_notification
create_notification('test-notification')
That created a row in "notifier_notification"
1 2015-01-16 18:37:01.17277-08 2015-01-16 18:37:01.172997-08 test-notification test-notification TRUE
Now to send the email
from notifier.shortcuts import send_notification
from django.contrib.auth.models import User
u = User.objects.get(pk=1)
send_notification('test-notification', [u])
This does nothing? Any ideas?
I liked the concept of this package. I like that backends can be added such as Push Notifications, SMS, etc.
Output of pip freeze:
Django==1.7.1
django-notifier==0.7
psycopg2==2.5.4
wsgiref==0.1.2
Metadata
Metadata
Assignees
Labels
No labels