Skip to content

Commit

Permalink
Trying to resolve static file storage adding Manifest to settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
frasanz committed Sep 28, 2024
1 parent 199f0a1 commit 8729eb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gdalface/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
# https://docs.djangoproject.com/en/3.2/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') # Where collected static files go in production
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'

STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static'), # Your static files in development
Expand Down

0 comments on commit 8729eb4

Please sign in to comment.