From a22390ad4f1b49db21b55a7e22a93d66f3930c9c Mon Sep 17 00:00:00 2001 From: "Nikita P. Shupeyko" Date: Sat, 5 May 2018 13:47:25 +0300 Subject: [PATCH] Introduce debug cookiecutter option --- README.rst | 3 ++- cookiecutter.json | 4 +++- docs/project-generation-options.rst | 4 ++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 21e723bc3..acb5d6a15 100644 --- a/README.rst +++ b/README.rst @@ -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:: diff --git a/cookiecutter.json b/cookiecutter.json index 1ba322c1f..e6687822a 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -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" } diff --git a/docs/project-generation-options.rst b/docs/project-generation-options.rst index 3a1201f00..4c46cbdcc 100644 --- a/docs/project-generation-options.rst +++ b/docs/project-generation-options.rst @@ -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