django server no file found 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']