mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-14 00:44:53 +03:00
replacing use_mailhog condition in docs
This commit is contained in:
parent
563f43cbd2
commit
0c3bd77917
|
@ -165,7 +165,7 @@ Answer the prompts with your own desired [options](http://cookiecutter-django.re
|
||||||
4 - Webpack
|
4 - Webpack
|
||||||
Choose from 1, 2, 3, 4 [1]: 1
|
Choose from 1, 2, 3, 4 [1]: 1
|
||||||
use_celery [n]: y
|
use_celery [n]: y
|
||||||
use_mailhog [n]: n
|
use_mailpit [n]: n
|
||||||
use_sentry [n]: y
|
use_sentry [n]: y
|
||||||
use_whitenoise [n]: n
|
use_whitenoise [n]: n
|
||||||
use_heroku [n]: y
|
use_heroku [n]: y
|
||||||
|
|
|
@ -194,7 +194,7 @@ Notice that the ``container_name`` is generated dynamically using your project s
|
||||||
Mailhog
|
Mailhog
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
|
||||||
When developing locally you can go with MailHog_ for email testing provided ``use_mailhog`` was set to ``y`` on setup. To proceed,
|
When developing locally you can go with MailHog_ for email testing provided ``use_mailpit`` was set to ``y`` on setup. To proceed,
|
||||||
|
|
||||||
#. make sure ``<project_slug>_local_mailhog`` container is up and running;
|
#. make sure ``<project_slug>_local_mailhog`` container is up and running;
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,7 @@ Setup Email Backend
|
||||||
MailHog
|
MailHog
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
|
||||||
.. note:: In order for the project to support MailHog_ it must have been bootstrapped with ``use_mailhog`` set to ``y``.
|
.. note:: In order for the project to support MailHog_ it must have been bootstrapped with ``use_mailpit`` set to ``y``.
|
||||||
|
|
||||||
MailHog is used to receive emails during development, it is written in Go and has no external dependencies.
|
MailHog is used to receive emails during development, it is written in Go and has no external dependencies.
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ Now you have your own mail server running locally, ready to receive whatever you
|
||||||
Console
|
Console
|
||||||
~~~~~~~
|
~~~~~~~
|
||||||
|
|
||||||
.. note:: If you have generated your project with ``use_mailhog`` set to ``n`` this will be a default setup.
|
.. note:: If you have generated your project with ``use_mailpit`` set to ``n`` this will be a default setup.
|
||||||
|
|
||||||
Alternatively, deliver emails over console via ``EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'``.
|
Alternatively, deliver emails over console via ``EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'``.
|
||||||
|
|
||||||
|
|
|
@ -115,7 +115,7 @@ Both Gulp and Webpack support Bootstrap recompilation with real-time variables a
|
||||||
use_celery:
|
use_celery:
|
||||||
Indicates whether the project should be configured to use Celery_.
|
Indicates whether the project should be configured to use Celery_.
|
||||||
|
|
||||||
use_mailhog:
|
use_mailpit:
|
||||||
Indicates whether the project should be configured to use MailHog_.
|
Indicates whether the project should be configured to use MailHog_.
|
||||||
|
|
||||||
use_sentry:
|
use_sentry:
|
||||||
|
|
|
@ -78,7 +78,7 @@ celery -A config.celery_app worker -B -l info
|
||||||
```
|
```
|
||||||
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if cookiecutter.use_mailhog == "y" %}
|
{%- if cookiecutter.use_mailpit == "y" %}
|
||||||
|
|
||||||
### Email Server
|
### Email Server
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user