staticfiles dirs django code example
Example 1: add static file in django
STATICFILES_DIRS = [
BASE_DIR / "static",
'/var/www/static/',
]
Example 2: staticfiles
STATICFILES_DIRS = [BASE_DIR / 'static']
Example 3: static file link in django
STATIC_URL = '/static/'