Skip to content

Commit 23e88b1

Browse files
author
Mahmud Ahsan
authored
Update README.md
1 parent 9a267cc commit 23e88b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,12 @@ pipenv install whitenoise
378378
'django.middleware.common.CommonMiddleware',
379379
```
380380

381-
4. # In setting.py at the bottom add 3 lines
381+
4. # In setting.py at the bottom add the following lines
382382
```python
383383
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') # new!
384-
STATIC_URL = '/static/' # This is already written
384+
STATIC_URL = '/static/'
385385
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')]
386-
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
386+
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage' #new
387387
```
388388

389389
5. If you already disabled collect static command then enable it

0 commit comments

Comments
 (0)