Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Director (0.19 sec)

  1. docs/en/docs/tutorial/bigger-applications.md

    │       └── admin.py
    ```
    
    !!! tip
        There are several `__init__.py` files: one in each directory or subdirectory.
    
        This is what allows importing code from one file into another.
    
        For example, in `app/main.py` you could have a line like:
    
        ```
        from app.routers import items
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. docs_src/custom_docs_ui/tutorial002.py

        get_redoc_html,
        get_swagger_ui_html,
        get_swagger_ui_oauth2_redirect_html,
    )
    from fastapi.staticfiles import StaticFiles
    
    app = FastAPI(docs_url=None, redoc_url=None)
    
    app.mount("/static", StaticFiles(directory="static"), name="static")
    
    
    @app.get("/docs", include_in_schema=False)
    async def custom_swagger_ui_html():
        return get_swagger_ui_html(
            openapi_url=app.openapi_url,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/static-files.md

    자세한 내용은 **숙련된 사용자 안내서**에서 확인할 수 있습니다.
    
    ## 세부사항
    
    첫 번째 `"/static"`은 이 "하위 응용 프로그램"이 "마운트"될 하위 경로를 가리킵니다. 따라서 `"/static"`으로 시작하는 모든 경로는 `"/static"`으로 처리됩니다.
    
    `'directory="static"`은 정적 파일이 들어 있는 디렉토리의 이름을 나타냅니다.
    
    `name="static"`은 **FastAPI**에서 내부적으로 사용할 수 있는 이름을 제공합니다.
    
    이 모든 매개변수는 "`static`"과 다를 수 있으며, 사용자 응용 프로그램의 요구 사항 및 구체적인 세부 정보에 따라 매개변수를 조정할 수 있습니다.
    
    
    ## 추가 정보
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 22 19:42:37 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. docs/pt/docs/contributing.md

    === "Linux, macOS, Windows Bash"
    
        <div class="termy">
    
        ```console
        $ which pip
    
        some/directory/fastapi/env/bin/pip
        ```
    
        </div>
    
    === "Windows PowerShell"
    
        <div class="termy">
    
        ```console
        $ Get-Command pip
    
        some/directory/fastapi/env/bin/pip
        ```
    
        </div>
    
    Se ele exibir o binário `pip` em `env/bin/pip` então funcionou. 🎉
    
    
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 14.9K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    * 🌐 Add Japanese translation for `docs/tutorial/security/oauth2-jwt.md`. PR [#3526](https://github.com/tiangolo/fastapi/pull/3526) by [@sattosan](https://github.com/sattosan).
    
    ### Internal
    
    * ✅ Add  the `docs_src` directory to test coverage and update tests. Initial PR [#1904](https://github.com/tiangolo/fastapi/pull/1904) by [@Kludex](https://github.com/Kludex).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  6. .github/dependabot.yml

    version: 2
    updates:
      # GitHub Actions
      - package-ecosystem: "github-actions"
        directory: "/"
        schedule:
          interval: "daily"
        commit-message:
          prefix: ⬆
      # Python
      - package-ecosystem: "pip"
        directory: "/"
        schedule:
          interval: "monthly"
        commit-message:
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Apr 19 00:41:55 GMT 2024
    - 311 bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/static-files.md

    ## Детали
    
    Первый параметр `"/static"` относится к подпути, по которому это "подприложение" будет "примонтировано". Таким образом, любой путь начинающийся со `"/static"` будет обработан этим приложением.
    
    Параметр `directory="static"` относится к имени директории, которая содержит ваши статические файлы.
    
    `name="static"` даёт имя маршруту, которое может быть использовано внутри **FastAPI**.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/static-files.md

    这与使用`APIRouter`不同,因为安装的应用程序是完全独立的。OpenAPI和来自你主应用的文档不会包含已挂载应用的任何东西等等。
    
    你可以在**高级用户指南**中了解更多。
    
    ## 细节
    
    这个 "子应用" 会被 "挂载" 到第一个 `"/static"` 指向的子路径。因此,任何以`"/static"`开头的路径都会被它处理。
    
     `directory="static"` 指向包含你的静态文件的目录名字。
    
    `name="static"` 提供了一个能被**FastAPI**内部使用的名字。
    
    所有这些参数可以不同于"`static`",根据你应用的需要和具体细节调整它们。
    
    ## 更多信息
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jun 03 12:49:32 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/custom-docs-ui-assets.md

    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    ```
    
    Now create a directory to store those static files.
    
    Your new file structure could look like this:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    └── static/
    ```
    
    ### Download the files
    
    Download the static files needed for the docs and put them on that `static/` directory.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/sql-databases.md

    In a similar way you could use any other ORM.
    
    !!! tip
        There's an equivalent article using Peewee here in the docs.
    
    ## File structure
    
    For these examples, let's say you have a directory named `my_super_project` that contains a sub-directory called `sql_app` with a structure like this:
    
    ```
    .
    └── sql_app
        ├── __init__.py
        ├── crud.py
        ├── database.py
        ├── main.py
        ├── models.py
        └── schemas.py
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
Back to top