Configure Static Files in settings.py
Static Files
- Open
new_project/settings.py. - Add the following configurations:
STATIC_URL = '/static/'STATICFILES_DIRS = [BASE_DIR / "static"]It should look something like this:
13
new_project/settings.py.STATIC_URL = '/static/' STATICFILES_DIRS = [BASE_DIR / "static"]
13