mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-07 13:34:53 +03:00
Rename .env/ to .envs/
This commit is contained in:
parent
b4db0847bd
commit
f8dc065a84
|
@ -283,7 +283,7 @@ if '{{ cookiecutter.open_source_license }}' == 'Not open source':
|
||||||
remove_open_source_files()
|
remove_open_source_files()
|
||||||
|
|
||||||
# Append `.env/` to the generated project's `.gitignore`.
|
# Append `.env/` to the generated project's `.gitignore`.
|
||||||
dotenv_dir_path = '.env/'
|
dotenv_dir_path = '.envs/'
|
||||||
append_to_gitignore(dotenv_dir_path)
|
append_to_gitignore(dotenv_dir_path)
|
||||||
|
|
||||||
# Append `.env` to the generated project's `.gitignore`.
|
# Append `.env` to the generated project's `.gitignore`.
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
POSTGRES_USER=postgresuser
|
|
||||||
POSTGRES_PASSWORD=postgrespassword
|
|
2
{{cookiecutter.project_slug}}/.envs/.local/.postgres
Normal file
2
{{cookiecutter.project_slug}}/.envs/.local/.postgres
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
POSTGRES_USER={{cookiecutter.project_slug}}
|
||||||
|
POSTGRES_PASSWORD=postgrespassword
|
Loading…
Reference in New Issue
Block a user