You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: {{cookiecutter.project_slug}}/LICENSE
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
7
7
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
8
9
9
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
{% if cookiecutter.open_source_license != "Not open source" %}
12
+
{%- if cookiecutter.open_source_license != "Not open source" %}
13
13
14
14
:License: {{cookiecutter.open_source_license}}
15
-
{% endif %}
15
+
{%- endif %}
16
16
17
17
Settings
18
18
--------
@@ -67,7 +67,7 @@ Moved to `Live reloading and SASS compilation`_.
67
67
68
68
.. _`Live reloading and SASS compilation`: http://cookiecutter-django.readthedocs.io/en/latest/live-reloading-and-sass-compilation.html
69
69
70
-
{% if cookiecutter.use_celery == "y" %}
70
+
{%- if cookiecutter.use_celery == "y" %}
71
71
72
72
Celery
73
73
^^^^^^
@@ -83,19 +83,21 @@ To run a celery worker:
83
83
84
84
Please note: For Celery's import magic to work, it is important *where* the celery commands are run. If you are in the same folder with *manage.py*, you should be right.
85
85
86
-
{% endif %}
87
-
{% if cookiecutter.use_mailhog == "y" %}
86
+
{%- endif %}
87
+
{%- if cookiecutter.use_mailhog == "y" %}
88
88
89
89
Email Server
90
90
^^^^^^^^^^^^
91
-
{% if cookiecutter.use_docker == 'y' %}
91
+
{%- if cookiecutter.use_docker == 'y' %}
92
+
92
93
In development, it is often nice to be able to see emails that are being sent from your application. For that reason local SMTP server `MailHog`_ with a web interface is available as docker container.
93
94
94
95
Container mailhog will start automatically when you will run all docker containers.
95
96
Please check `cookiecutter-django Docker documentation`_ for more details how to start all containers.
96
97
97
98
With MailHog running, to view messages that are sent by your application, open your browser and go to ``http://127.0.0.1:8025``
98
-
{% else %}
99
+
{%- else %}
100
+
99
101
In development, it is often nice to be able to see emails that are being sent from your application. If you choose to use `MailHog`_ when generating the project a local SMTP server with a web interface will be available.
100
102
101
103
#. `Download the latest MailHog release`_ for your OS.
@@ -117,10 +119,10 @@ In development, it is often nice to be able to see emails that are being sent fr
117
119
Now you have your own mail server running locally, ready to receive whatever you send it.
118
120
119
121
.. _`Download the latest MailHog release`: https://github.com/mailhog/MailHog/releases
0 commit comments