mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-05 16:49:45 +00:00
Switching to anymail
This commit is contained in:
parent
b6676b5b0e
commit
d2e8d2d02f
2 changed files with 7 additions and 6 deletions
|
@ -8,7 +8,7 @@ cssutils==1.0.1
|
||||||
django-compress==1.0.1
|
django-compress==1.0.1
|
||||||
django-cors-middleware==1.3.1
|
django-cors-middleware==1.3.1
|
||||||
django-extensions==1.6.7
|
django-extensions==1.6.7
|
||||||
django-mailgun==0.9.1
|
django-anymail[mailgun]==8.1
|
||||||
django-oauth-toolkit==1.1.2
|
django-oauth-toolkit==1.1.2
|
||||||
django-paypal==1.0
|
django-paypal==1.0
|
||||||
django-qurl==0.1.1
|
django-qurl==0.1.1
|
||||||
|
|
|
@ -273,11 +273,11 @@ SENTRY_DSN = 'https://XXXNEWSBLURXXX@app.getsentry.com/99999999'
|
||||||
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
|
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
|
||||||
DATA_UPLOAD_MAX_NUMBER_FIELDS = None # Handle long /reader/complete_river calls
|
DATA_UPLOAD_MAX_NUMBER_FIELDS = None # Handle long /reader/complete_river calls
|
||||||
|
|
||||||
if DEBUG:
|
ANYMAIL = {
|
||||||
# EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
"MAILGUN_API_KEY": "<your Mailgun key>",
|
||||||
EMAIL_BACKEND = 'vendor.mailgun.MailgunBackend'
|
"MAILGUN_SENDER_DOMAIN": 'mg.example.com', # your Mailgun domain, if needed
|
||||||
else:
|
}
|
||||||
EMAIL_BACKEND = 'vendor.mailgun.MailgunBackend'
|
EMAIL_BACKEND = 'anymail.backends.mailgun.EmailBackend'
|
||||||
|
|
||||||
# ==============
|
# ==============
|
||||||
# = Subdomains =
|
# = Subdomains =
|
||||||
|
@ -329,6 +329,7 @@ INSTALLED_APPS = (
|
||||||
'vendor',
|
'vendor',
|
||||||
'vendor.typogrify',
|
'vendor.typogrify',
|
||||||
'vendor.zebra',
|
'vendor.zebra',
|
||||||
|
'anymail',
|
||||||
'oauth2_provider',
|
'oauth2_provider',
|
||||||
'corsheaders',
|
'corsheaders',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue