- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 30 for StaticFiles (0.04 sec)
-
docs/en/docs/advanced/templates.md
```jinja hl_lines="4" {!../../docs_src/templates/templates/item.html!} ``` In this example, it would link to a CSS file at `static/styles.css` with: ```CSS hl_lines="4" {!../../docs_src/templates/static/styles.css!} ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.5K bytes - Viewed (0) -
docs/tr/docs/advanced/testing-websockets.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 452 bytes - Viewed (0) -
docs/ko/docs/advanced/templates.md
## 템플릿과 정적 파일 템플릿 내에서 `url_for()`를 사용할 수 있으며, 예를 들어 `name="static"`으로 마운트한 `StaticFiles`와 함께 사용할 수 있습니다. ```jinja hl_lines="4" {!../../docs_src/templates/templates/item.html!} ``` 이 예제에서는 `static/styles.css`에 있는 CSS 파일에 연결될 것입니다: ```CSS hl_lines="4" {!../../docs_src/templates/static/styles.css!} ``` 그리고 `StaticFiles`를 사용하고 있으므로, 해당 CSS 파일은 **FastAPI** 애플리케이션에서 `/static/styles.css` URL로 자동 제공됩니다.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 3.7K bytes - Viewed (0) -
docs/es/docs/how-to/custom-docs-ui-assets.md
└── static ├── redoc.standalone.js ├── swagger-ui-bundle.js └── swagger-ui.css ``` ### Sirve los archivos estáticos { #serve-the-static-files } * Importa `StaticFiles`. * "Monta" una instance de `StaticFiles()` en un path específico. {* ../../docs_src/custom_docs_ui/tutorial002_py39.py hl[7,11] *} ### Prueba los archivos estáticos { #test-the-static-files }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 8.6K bytes - Viewed (0) -
docs/pt/docs/how-to/custom-docs-ui-assets.md
└── static ├── redoc.standalone.js ├── swagger-ui-bundle.js └── swagger-ui.css ``` ### Prover os arquivos estáticos { #serve-the-static-files } * Importe `StaticFiles`. * "Monte" a instância `StaticFiles()` em um caminho específico. {* ../../docs_src/custom_docs_ui/tutorial002_py39.py hl[7,11] *} ### Teste os arquivos estáticos { #test-the-static-files }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 8.8K bytes - Viewed (0) -
docs/ru/docs/how-to/custom-docs-ui-assets.md
├── redoc.standalone.js ├── swagger-ui-bundle.js └── swagger-ui.css ``` ### Предоставьте доступ к статическим файлам { #serve-the-static-files } * Импортируйте `StaticFiles`. * Смонтируйте экземпляр `StaticFiles()` в определённый путь. {* ../../docs_src/custom_docs_ui/tutorial002_py39.py hl[7,11] *} ### Протестируйте статические файлы { #test-the-static-files }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.8K bytes - Viewed (0) -
docs/de/docs/how-to/custom-docs-ui-assets.md
└── static ├── redoc.standalone.js ├── swagger-ui-bundle.js └── swagger-ui.css ``` ### Die statischen Dateien bereitstellen { #serve-the-static-files } * Importieren Sie `StaticFiles`. * „Mounten“ Sie eine `StaticFiles()`-Instanz in einem bestimmten Pfad. {* ../../docs_src/custom_docs_ui/tutorial002_py39.py hl[7,11] *} ### Die statischen Dateien testen { #test-the-static-files }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9.5K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
│ ├── main.py └── static ├── redoc.standalone.js ├── swagger-ui-bundle.js └── swagger-ui.css ``` ### Serve the static files { #serve-the-static-files } * Import `StaticFiles`. * "Mount" a `StaticFiles()` instance in a specific path. {* ../../docs_src/custom_docs_ui/tutorial002_py39.py hl[7,11] *} ### Test the static files { #test-the-static-files }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.8K bytes - Viewed (0) -
docs/en/mkdocs.yml
- OpenAPI: - reference/openapi/index.md - reference/openapi/docs.md - reference/openapi/models.md - reference/security/index.md - reference/encoders.md - reference/staticfiles.md - reference/templating.md - reference/testclient.md - fastapi-people.md - Resources: - resources/index.md - help-fastapi.md - contributing.md - project-generation.mdRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 10:44:55 UTC 2025 - 9.2K bytes - Viewed (0) -
docs/en/docs/release-notes.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 19:06:15 UTC 2025 - 586.7K bytes - Viewed (0)