Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Add staticfiles to gitignore #139

Merged
merged 1 commit into from
Sep 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions {{cookiecutter.__src_folder_name}}/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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.
# <django-project-name>/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
Expand Down
Loading