Published
- 1 min read
how to add static files in django
The solution for this is noted below
how to add static files in django
Solution
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
STATICFILES_DIRS = [
BASE_DIR / 'static'
]
Try other methods by searching on the site. That is if this doesn’t work