From 5d3df1ddf566fb49626df4f89021cfeeef3ccb52 Mon Sep 17 00:00:00 2001 From: Abdullah Adeel Date: Sat, 15 Jan 2022 14:56:33 +0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20updated=20project=20generation?= =?UTF-8?q?=20flow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/project-generation-options.rst | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/docs/project-generation-options.rst b/docs/project-generation-options.rst index 26fb79d2f..d18458d83 100644 --- a/docs/project-generation-options.rst +++ b/docs/project-generation-options.rst @@ -52,8 +52,23 @@ use_pycharm: use_docker: Indicates whether the project should be configured to use Docker_ and `Docker Compose`_. -postgresql_version: - Select a PostgreSQL_ version to use. The choices are: +database_engine: + Cookiecutter now supports the following databases: + + 1. Postgres + 2. MySQL + + Select the database you want to use for your project. + +database_version: + Select the version of the database you want to use for your project. + + .. note:: + | Database versions are shown in the format ``{database_engine}@{version}``. + | So make sure you select the versoin accoring to the database version you seleted in the previous step. + | For example, if you selected **Postgres** as your database, make sure to select from one of the options starting with ``postgresql@{version_you_want}`` and if you seleted **MySQL**, select one of the options starting with ``mysql@{version_you_want}``. + + *Currently, following PostgreSQL versions are supported:* 1. 14.1 2. 13.5 @@ -61,6 +76,10 @@ postgresql_version: 4. 11.14 5. 10.19 + *Currently, following MySQL versions are supported:* + + 1. 5.7 + js_task_runner: Select a JavaScript task runner. The choices are: