We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a267cc commit 23e88b1Copy full SHA for 23e88b1
README.md
@@ -378,12 +378,12 @@ pipenv install whitenoise
378
'django.middleware.common.CommonMiddleware',
379
```
380
381
-4. # In setting.py at the bottom add 3 lines
+4. # In setting.py at the bottom add the following lines
382
```python
383
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') # new!
384
-STATIC_URL = '/static/' # This is already written
+STATIC_URL = '/static/'
385
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')]
386
-STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
+STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage' #new
387
388
389
5. If you already disabled collect static command then enable it
0 commit comments