mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
install: remove need to name [esp]
Simplify install to just `pip install django-anymail`. (Rather than `... django-anymail[mailgun]` All of the ESPs so far require requests, so just move that into the base requirements. (Chances are your Django app already needs requests for some other reason, anyway.) Truly unique ESP dependencies (e.g., boto for AWS-SES) could still use the setup extra features mechanism.
This commit is contained in:
@@ -72,11 +72,11 @@ Anymail 1-2-3
|
||||
This example uses Mailgun, but you can substitute Postmark or SendGrid
|
||||
or any other supported ESP where you see "mailgun":
|
||||
|
||||
1. Install Anymail from PyPI, including the ESP(s) you want to use:
|
||||
1. Install Anymail from PyPI:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ pip install django-anymail[mailgun] # or [postmark,sendgrid] or ...
|
||||
$ pip install django-anymail
|
||||
|
||||
|
||||
2. Edit your project's ``settings.py``:
|
||||
|
||||
Reference in New Issue
Block a user