static root in django 3.1 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']
STATICFILES_DIRS = [
BASE_DIR / "static",
'/var/www/static/',
]
STATICFILES_DIRS = [BASE_DIR / 'static']