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