mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
Docs: add shell quoting to install commands
In docs install examples, show double quotes around package specifiers that include square brackets, to prevent them from being interpreted as shell globs. (Helps with installation on Windows and zsh, e.g.) Closes #188
This commit is contained in:
@@ -77,7 +77,7 @@ or SparkPost or any other supported ESP where you see "mailgun":
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ pip install django-anymail[mailgun]
|
$ pip install "django-anymail[mailgun]"
|
||||||
|
|
||||||
(The `[mailgun]` part installs any additional packages needed for that ESP.
|
(The `[mailgun]` part installs any additional packages needed for that ESP.
|
||||||
Mailgun doesn't have any, but some other ESPs do.)
|
Mailgun doesn't have any, but some other ESPs do.)
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ backend. Either include the "amazon_ses" option when you install Anymail:
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ pip install django-anymail[amazon_ses]
|
$ pip install "django-anymail[amazon_ses]"
|
||||||
|
|
||||||
or separately run `pip install boto3`.
|
or separately run `pip install boto3`.
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ backend. Either include the "sparkpost" option when you install Anymail:
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ pip install django-anymail[sparkpost]
|
$ pip install "django-anymail[sparkpost]"
|
||||||
|
|
||||||
or separately run `pip install sparkpost`.
|
or separately run `pip install sparkpost`.
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ To use Anymail in your Django project:
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ pip install django-anymail[sendgrid,sparkpost]
|
$ pip install "django-anymail[sendgrid,sparkpost]"
|
||||||
|
|
||||||
The `[sendgrid,sparkpost]` part of that command tells pip you also
|
The `[sendgrid,sparkpost]` part of that command tells pip you also
|
||||||
want to install additional packages required for those ESPs.
|
want to install additional packages required for those ESPs.
|
||||||
|
|||||||
Reference in New Issue
Block a user