mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-23 15:02:54 +03:00
parent
9cd0ee0272
commit
57761e77b3
|
@ -285,7 +285,7 @@ def main():
|
|||
remove_envs_and_associated_files()
|
||||
else:
|
||||
append_to_gitignore_file('.env')
|
||||
append_to_gitignore_file('.envs' + '/**/*')
|
||||
append_to_gitignore_file('.envs/*')
|
||||
if '{{ cookiecutter.keep_local_envs_in_vcs }}'.lower() == 'y':
|
||||
append_to_gitignore_file('!.envs/.local/')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user