Skip to content

Commit

Permalink
[static] fix collect static
Browse files Browse the repository at this point in the history
  • Loading branch information
capcom6 committed Jul 4, 2024
1 parent eddd626 commit f0f6bc0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ cython_debug/
.LSOverride

# Icon must end with two \r
Icon
Icon


# Thumbnails
._*
Expand Down Expand Up @@ -396,3 +397,4 @@ $RECYCLE.BIN/

# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

static/
5 changes: 4 additions & 1 deletion bread/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,10 @@
"photo": {
"driver": os.getenv("STORAGE_PHOTO_DRIVER", STORAGE_DRIVER),
"location": os.getenv("STORAGE_PHOTO_LOCATION", "photo"),
}
},
"staticfiles": {
"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage",
},
}

AZURE_ACCOUNT_NAME = os.getenv("AZURE_ACCOUNT_NAME")
Expand Down

0 comments on commit f0f6bc0

Please sign in to comment.