diff --git a/djinit/templates/config/settings/production.py-tpl b/djinit/templates/config/settings/production.py-tpl index 72d0c42..7d58363 100644 --- a/djinit/templates/config/settings/production.py-tpl +++ b/djinit/templates/config/settings/production.py-tpl @@ -8,7 +8,7 @@ SECRET_KEY = env('SECRET_KEY') ALLOWED_HOSTS = env.list('ALLOWED_HOSTS', default=[]) # Database -# @IF use_database_url +# @IF use_database_url # Using dj_database_url (recommended for production) DATABASES = { 'default': env.db('DATABASE_URL') @@ -17,7 +17,7 @@ DATABASES = { # Using individual database parameters DATABASES = { 'default': { - # @IF database_type == 'mysql' + # @IF database_type == 'mysql' 'ENGINE': 'django.db.backends.mysql', 'PORT': env('DB_PORT', default='3306'), # @ELSE diff --git a/djinit/templates/project/env_sample-tpl b/djinit/templates/project/env_sample-tpl index 65d6da7..382da28 100644 --- a/djinit/templates/project/env_sample-tpl +++ b/djinit/templates/project/env_sample-tpl @@ -3,9 +3,9 @@ DJANGO_SETTINGS_MODULE=[[ project_name ]].settings.development SECRET_KEY= your-secret-key ALLOWED_HOSTS=api.your-domain.com,www.your-domain.com -# @IF use_database_url +# @IF use_database_url # Database URL (recommended for production) -# @IF database_type == 'mysql' +# @IF database_type == 'mysql' DATABASE_URL=mysql://user:password@localhost:3306/[[ project_name ]] # @ELSE DATABASE_URL=postgres://user:password@localhost:5432/[[ project_name ]] diff --git a/djinit/templates/project/readme.md-tpl b/djinit/templates/project/readme.md-tpl index c107ade..9c28632 100644 --- a/djinit/templates/project/readme.md-tpl +++ b/djinit/templates/project/readme.md-tpl @@ -71,7 +71,7 @@ Run `just` to see all available commands, including: ## Project Structure ``` -# @IF predefined_structure +# @IF predefined_structure [[ project_name ]]/ ├── [[ module_name ]]/ │ ├── settings/ @@ -118,7 +118,7 @@ Run `just` to see all available commands, including: ├── Procfile ├── runtime.txt └── README.md -# @ELSEIF unified_structure +# @ELSEIF unified_structure [[ project_name ]]/ ├── apps/ │ ├── admin/ diff --git a/djinit/templates/project/requirements-tpl b/djinit/templates/project/requirements-tpl index 43aee21..cb48ff9 100644 --- a/djinit/templates/project/requirements-tpl +++ b/djinit/templates/project/requirements-tpl @@ -10,7 +10,7 @@ djangorestframework_simplejwt drf-spectacular django-cors-headers whitenoise -# @IF database_type == 'mysql' +# @IF database_type == 'mysql' mysqlclient # @ELSE psycopg[binary]