Introduce debug cookiecutter option

This commit is contained in:
Nikita P. Shupeyko 2018-05-05 13:47:25 +03:00
parent 9f14254e8e
commit a22390ad4f
3 changed files with 9 additions and 2 deletions

View File

@ -15,7 +15,7 @@ Cookiecutter Django
.. image:: https://www.codetriage.com/pydanny/cookiecutter-django/badges/users.svg
:target: https://www.codetriage.com/pydanny/cookiecutter-django
:alt: Code Helpers Badge
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/ambv/black
:alt: Code style: black
@ -194,6 +194,7 @@ Answer the prompts with your own desired options_. For example::
5 - Not open source
Choose from 1, 2, 3, 4, 5 [1]: 1
keep_local_envs_in_vcs [y]: y
debug[n]: n
Enter the project and take a look around::

View File

@ -39,5 +39,7 @@
"use_whitenoise": "y",
"use_heroku": "n",
"use_travisci": "n",
"keep_local_envs_in_vcs": "y"
"keep_local_envs_in_vcs": "y",
"debug": "n"
}

View File

@ -96,6 +96,10 @@ keep_local_envs_in_vcs [y]
(comes in handy when working in teams where local environment reproducibility
is strongly encouraged).
debug [n]
Indicates whether the project should be configured for debugging.
This option is relevant for Cookiecutter Django developers only.
.. _MIT: https://opensource.org/licenses/MIT
.. _BSD: https://opensource.org/licenses/BSD-3-Clause