Skip to content

Commit b6bbdf4

Browse files
committed
The *package* name is "django-anymail"
(not just "anymail")
1 parent c13ef4d commit b6bbdf4

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ or any other supported ESP where you see "mailgun":
7171

7272
.. code-block:: console
7373
74-
$ pip install anymail[mailgun] # or anymail[postmark,sendgrid] or ...
74+
$ pip install django-anymail[mailgun] # or [postmark,sendgrid] or ...
7575
7676
7777
2. Edit your project's ``settings.py``:

anymail/exceptions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ def __init__(self, message=None, orig_err=None, *args, **kwargs):
136136
class AnymailImproperlyInstalled(ImproperlyConfigured, ImportError):
137137
def __init__(self, missing_package):
138138
message = "The %s package is required to use this backend, but isn't installed.\n" \
139-
"(Be sure to use `pip install anymail[<backend>]` with your desired backends)" % missing_package
139+
"(Be sure to use `pip install django-anymail[<backend>]` " \
140+
"with your desired backends)" % missing_package
140141
super(AnymailImproperlyInstalled, self).__init__(message)
141142

docs/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ E.g., for Anymail with Mailgun support:
1717

1818
.. code-block:: console
1919
20-
$ pip install anymail[mailgun]
20+
$ pip install django-anymail[mailgun]
2121
2222
...or with both Postmark and SendGrid support:
2323

2424
.. code-block:: console
2525
26-
$ pip install anymail[postmark,sendgrid]
26+
$ pip install django-anymail[postmark,sendgrid]
2727
2828
2929
.. _backend-configuration:

docs/troubleshooting.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ Figuring out what's wrong
2727
**Double-check common issues**
2828

2929
* Did you install Anymail with the ESPs you want available?
30-
(E.g., `pip install anymail[mailgun,sendgrid]` -- *not* just `pip install anymail`.)
30+
(E.g., `pip install django-anymail[mailgun,sendgrid]` --
31+
*not* just `pip install django-anymail`.)
3132
* Did you add any required settings for those ESPs to your settings.py?
3233
(E.g., `ANYMAIL_MANDRILL_API_KEY`.)
3334
* Did you add ``'anymail'`` to the list of :setting:`INSTALLED_APPS` in settings.py?

0 commit comments

Comments
 (0)