-
Notifications
You must be signed in to change notification settings - Fork 4
Add possibility to specify recipient model #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add possibility to specify recipient model #42
Conversation
7184b40 to
0b8b2df
Compare
setup.py
Outdated
| 'beautifulsoup4 ~=4.8.0', | ||
| 'celery >= 4.2.0', | ||
| 'django >= 2.2', | ||
| 'django ~= 2.2', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The former statement installs Django 3, this library is not yet ported to Django 3.
87dbe98 to
40dcb09
Compare
requirements_docs.txt
Outdated
| celery==4.2.0 | ||
| django-chamber==0.5.0 | ||
| django==2.2 | ||
| lxml==4.5.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added missing requirements from setup.py, that prevented docs to be rendered.
7ad7431 to
a723801
Compare
| 'celery==4.*', | ||
| 'django==2.*', | ||
| 'django-chamber==0.*', | ||
| 'lxml==4.*', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little bit restricted compatibility, but I think it's still OK.
a723801 to
57d8a2c
Compare
Currently, pynotify uses
AUTH_USER_MODELsetting for recipient model, which is also used by Django authentication mechanism. But some projects might require to use different model for notifications, thereforePYNOTIFY_RECIPIENT_MODELis introduced in this PR.