set static path django code example Example: add static file in django STATICFILES_DIRS = [ BASE_DIR / "static", '/var/www/static/', ]