Commit graph

26 commits

Author SHA1 Message Date
zzy
191c1250df Add option "NOTIFICATIONS_SOFT_DELETE", fix issue #52 2015-04-11 13:28:52 +08:00
zzy
c8647ce302 Rename "NOTIFY_USE_JSONFIELD" to "NOTIFICATIONS_USE_JSONFIELD", as app name is "notifications". "NOTIFY..." is reserved for backward compatibility 2015-04-11 11:51:33 +08:00
theodore.therone@gmail.com
9608ee8a6e Added tests, confirmed works for python2/3
Also added .travis.yml
2015-03-28 08:25:56 +00:00
zzy
e244ba3ec0 Add 'data' field into Notification model 2015-03-20 19:03:41 +08:00
zzy
f351e92223 Add 'deleted' and 'emailed' field 2015-02-24 19:40:21 +08:00
Ivan
8c7cc0d3c1 Python3 compatibility (using six). 2015-02-04 15:25:20 +00:00
Brant Young
28c444d1dd Use relatives imports
Merge branch 'master' of https://github.com/luzfcb/django-notifications

Conflicts:
	notifications/models.py
2014-05-07 10:39:43 +08:00
Jesper Håkansson
d361f1d20b Err... Forgot if not 2014-04-03 15:55:38 +02:00
Jesper Håkansson
0cb60574bb Added mark_as_unread in model 2014-04-03 15:50:06 +02:00
Brant.Y
ea9becf8d0 Merge pull request #20 from fay/master
use different `now` function according to the `USE_TZ` setting
2013-12-11 21:16:43 -08:00
Sandro Rodrigues
74313bc2f1 Generic user model to recipient foreign key 2013-12-12 00:53:31 +00:00
fay
43516ca049 use different now function according to the USE_TZ setting 2013-11-04 13:43:59 +08:00
Fábio C. Barrioneuvo da Luz
ab1b04520e fix issues #15 #18 #19. change absolute import to relative imports 2013-10-29 19:58:47 -03:00
Brant Young
a73c01f167 forgot the parenthesis 2013-04-17 23:13:03 +08:00
Adriaan
00fd2501d6 Fixed for apps that have USE_TZ set to False. 2013-04-17 14:19:50 +02:00
Mirat Can Bayrak
87c7d38e3f missing unicode support for notification model 2012-12-26 20:41:23 +02:00
Matthew Schinckel
bc54bc092b Add a level attribute. 2012-10-25 09:41:21 +10:30
Matthew Schinckel
d02c7893ac Document/clean-up query set API. 2012-10-24 10:40:28 +10:30
Matthew Schinckel
43de153df4 Convert field from readed to unread. 2012-10-24 09:55:09 +10:30
Matthew Schinckel
c4001cd64c Typo. 2012-10-24 09:43:49 +10:30
Matthew Schinckel
6d65205c69 Fixed a bug where passing recipients was not really effective: it still marked all as read/unread based on the entire query set. 2012-10-24 09:41:52 +10:30
Matthew Schinckel
a80c7e5fae Keep the same API (but extend it) for manager methods (they turn into query set methods). 2012-10-24 09:37:42 +10:30
Matthew Schinckel
a2b310b6cd Update last instance of 'readed' to unread. 2012-10-23 17:23:06 +10:30
Matthew Schinckel
d8567930b4 Change 'readed' field to unread.
Add a better manager/queryset. (required django-model-utils).
2012-10-23 17:20:29 +10:30
Matthew Schinckel
55c4701d1b Add support for a 'data' field to attach arbitrary data to a notification. 2012-10-23 16:13:49 +10:30
Brant Young
da17a04911 First version based on django-activity-stream v0.4.3 2012-07-22 21:14:44 +08:00