- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 40 for template (0.16 sec)
-
docs/ja/docs/contributing.md
まず、メインページの`docs/ht/index.md`を翻訳します。 その後、「既存の言語」で、さきほどの手順を続行してください。 ##### まだサポートされていない新しい言語 ライブサーバースクリプトを実行するときに、サポートされていない言語に関するエラーが発生した場合は、次のように表示されます: ``` raise TemplateNotFound(template) jinja2.exceptions.TemplateNotFound: partials/language/xx.html ``` これは、テーマがその言語をサポートしていないことを意味します (この場合は、`xx`の2文字の偽のコード) 。 ただし、心配しないでください。テーマ言語を英語に設定して、ドキュメントの内容を翻訳できます。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Jun 11 21:38:15 GMT 2023 - 16.6K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
change the structure of your SQLAlchemy models, add a new attribute, etc. to replicate those changes in the database, add a new column, a new table, etc. You can find an example of Alembic in a FastAPI project in the templates from [Project Generation - Template](../project-generation.md){.internal-link target=_blank}. Specifically in <a href="https://github.com/tiangolo/full-stack-fastapi-postgresql/tree/master/src/backend/app/alembic" class="external-link" target="_blank">the `alembic`...
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 29.6K bytes - Viewed (0) -
docs/zh/docs/advanced/templates.md
## 编写模板 编写模板 `templates/item.html`,代码如下: ```jinja hl_lines="7" {!../../../docs_src/templates/templates/item.html!} ``` 它会显示从 **context** 字典中提取的 `id`: ```Python {"request": request, "id": id} ``` ## 模板与静态文件 在模板内部使用 `url_for()`,例如,与挂载的 `StaticFiles` 一起使用。 ```jinja hl_lines="4" {!../../../docs_src/templates/templates/item.html!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 22:45:16 GMT 2024 - 2.2K bytes - Viewed (0) -
docs/em/docs/advanced/templates.md
```jinja hl_lines="4" {!../../../docs_src/templates/templates/item.html!} ``` 👉 🖼, ⚫️ 🔜 🔗 🎚 📁 `static/styles.css` ⏮️: ```CSS hl_lines="4" {!../../../docs_src/templates/static/styles.css!} ``` & ↩️ 👆 ⚙️ `StaticFiles`, 👈 🎚 📁 🔜 🍦 🔁 👆 **FastAPI** 🈸 📛 `/static/styles.css`. ## 🌅 ℹ
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Dec 26 20:12:34 GMT 2023 - 2.1K bytes - Viewed (0) -
docs/en/mkdocs.yml
- advanced/using-request-directly.md - advanced/dataclasses.md - advanced/middleware.md - advanced/sub-applications.md - advanced/behind-a-proxy.md - advanced/templates.md - advanced/websockets.md - advanced/events.md - advanced/testing-websockets.md - advanced/testing-events.md - advanced/testing-dependencies.md - advanced/testing-database.md
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/pt/docs/index.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 18.6K bytes - Viewed (0) -
fastapi/applications.py
rich text representation. * `variables`: A `dict` between a variable name and its value. The value is used for substitution in the server's URL template. Read more in the [FastAPI docs for Behind a Proxy](https://fastapi.tiangolo.com/advanced/behind-a-proxy/#additional-servers). **Example**
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 172.2K bytes - Viewed (0) -
tests/test_tutorial/test_templates/test_tutorial001.py
if os.path.isdir("./static"): # pragma: nocover shutil.rmtree("./static") if os.path.isdir("./templates"): # pragma: nocover shutil.rmtree("./templates") shutil.copytree("./docs_src/templates/templates/", "./templates") shutil.copytree("./docs_src/templates/static/", "./static") from docs_src.templates.tutorial001 import app client = TestClient(app) response = client.get("/items/foo")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Jan 11 22:25:37 GMT 2024 - 910 bytes - Viewed (0) -
scripts/mkdocs_hooks.py
return missing_translation_path.read_text(encoding="utf-8") @lru_cache def get_mkdocs_material_langs() -> List[str]: material_path = Path(material.__file__).parent material_langs_path = material_path / "templates" / "partials" / "languages" langs = [file.stem for file in material_langs_path.glob("*.html")] return langs class EnFile(File): pass
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 24 20:26:06 GMT 2023 - 5.1K bytes - Viewed (0) -
docs/de/docs/index.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 21.1K bytes - Viewed (0)