diff --git a/{{cookiecutter.__src_folder_name}}/.gitignore b/{{cookiecutter.__src_folder_name}}/.gitignore index 079c36e..e0d34a3 100644 --- a/{{cookiecutter.__src_folder_name}}/.gitignore +++ b/{{cookiecutter.__src_folder_name}}/.gitignore @@ -13,9 +13,11 @@ __pycache__/ media -# If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/ -# in your Git repository. Update and uncomment the following line accordingly. -# /staticfiles/ +{% if cookiecutter.project_backend == "django" %} +# If your build process includes running collectstatic, then you probably don't need +# or want to include staticfiles/ in your Git repository. +src/staticfiles/ +{% endif %} ### Django.Python Stack ### # Byte-compiled / optimized / DLL files