From 7cb8da9df6845f99115a1972dbb489c312ca972f Mon Sep 17 00:00:00 2001 From: Mark Liederbach Date: Wed, 6 Sep 2017 01:33:35 -0500 Subject: [PATCH] Added Whitelist for /compose/local/ (#1322) Something in the file above ignores the /compose/local directory, which is not an expected pattern. Barring a reasonable explanation or modification of the above rules, this whitelists that folder. --- {{cookiecutter.project_slug}}/.gitignore | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/{{cookiecutter.project_slug}}/.gitignore b/{{cookiecutter.project_slug}}/.gitignore index 70795664..65feea00 100644 --- a/{{cookiecutter.project_slug}}/.gitignore +++ b/{{cookiecutter.project_slug}}/.gitignore @@ -361,3 +361,9 @@ mailhog {% endif %} {{ cookiecutter.project_slug }}/media/ + +{% if cookiecutter.use_docker == 'y' -%} +# Added to maintain local compose files which are ignored by something above. +# See issue https://github.com/pydanny/cookiecutter-django/issues/1321 +!/compose/local/ +{% endif %}