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

@ -194,6 +194,7 @@ Answer the prompts with your own desired options_. For example::
5 - Not open source 5 - Not open source
Choose from 1, 2, 3, 4, 5 [1]: 1 Choose from 1, 2, 3, 4, 5 [1]: 1
keep_local_envs_in_vcs [y]: y keep_local_envs_in_vcs [y]: y
debug[n]: n
Enter the project and take a look around:: Enter the project and take a look around::

View File

@ -39,5 +39,7 @@
"use_whitenoise": "y", "use_whitenoise": "y",
"use_heroku": "n", "use_heroku": "n",
"use_travisci": "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 (comes in handy when working in teams where local environment reproducibility
is strongly encouraged). 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 .. _MIT: https://opensource.org/licenses/MIT
.. _BSD: https://opensource.org/licenses/BSD-3-Clause .. _BSD: https://opensource.org/licenses/BSD-3-Clause