Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for sample (0.51 sec)

  1. docs/en/docs/tutorial/extra-models.md

        If you don't know, you will learn what a "password hash" is in the [security chapters](security/simple-oauth2.md#password-hashing){.internal-link target=_blank}.
    
    ## Multiple models
    
    Here's a general idea of how the models could look like with their password fields and the places where they are used:
    
    === "Python 3.10+"
    
        ```Python hl_lines="7  9  14  20  22  27-28  31-33  38-39"
        {!> ../../../docs_src/extra_models/tutorial001_py310.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  2. docs/pt/docs/tutorial/extra-models.md

    * O **modelo de banco de dados** provavelmente precisaria ter uma senha criptografada.
    
    !!! danger
        Nunca armazene senhas em texto simples dos usuários. Sempre armazene uma "hash segura" que você pode verificar depois.
    
        Se não souber, você aprenderá o que é uma "senha hash" nos [capítulos de segurança](security/simple-oauth2.md#password-hashing){.internal-link target=_blank}.
    
    ## Múltiplos modelos
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/extra-models.md

    *  **🔢 🏷** 💪 💪 ✔️ 🔐.
    *  **🔢 🏷** 🔜 🚫 ✔️ 🔐.
    *  **💽 🏷** 🔜 🎲 💪 ✔️ #️⃣ 🔐.
    
    !!! danger
        🙅 🏪 👩‍💻 🔢 🔐. 🕧 🏪 "🔐 #️⃣" 👈 👆 💪 ⤴️ ✔.
    
        🚥 👆 🚫 💭, 👆 🔜 💡 ⚫️❔ "🔐#️⃣" [💂‍♂ 📃](security/simple-oauth2.md#_4){.internal-link target=_blank}.
    
    ## 💗 🏷
    
    📥 🏢 💭 ❔ 🏷 💪 👀 💖 ⏮️ 👫 🔐 🏑 & 🥉 🌐❔ 👫 ⚙️:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="9  11  16  22  24  29-30  33-35  40-41"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/extra-models.md

    ```
    
    就能以如下方式调用:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    现在,变量 `user_dict`中的就是包含数据的**字典**(变量 `user_dict` 是字典,不是 Pydantic 模型对象)。
    
    以如下方式调用:
    
    ```Python
    print(user_dict)
    ```
    
    输出的就是 Python **字典**:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': 'john.doe@example.com',
        'full_name': None,
    }
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 01 01:15:53 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/extra-models.md

    !!! danger "Gefahr"
        Speichern Sie niemals das Klartext-Passwort eines Benutzers. Speichern Sie immer den „sicheren Hash“, den Sie verifizieren können.
    
        Falls Ihnen das nichts sagt, in den [Sicherheits-Kapiteln](security/simple-oauth2.md#passwort-hashing){.internal-link target=_blank} werden Sie lernen, was ein „Passwort-Hash“ ist.
    
    ## Mehrere Modelle
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:47 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/extra-models.md

    * **入力モデル** にはパスワードが必要です。
    * **出力モデル**はパスワードをもつべきではありません。
    * **データベースモデル**はおそらくハッシュ化されたパスワードが必要になるでしょう。
    
    !!! danger "危険"
        ユーザーの平文のパスワードは絶対に保存しないでください。常に認証に利用可能な「安全なハッシュ」を保存してください。
    
        知らない方は、[セキュリティの章](security/simple-oauth2.md#password-hashing){.internal-link target=_blank}で「パスワードハッシュ」とは何かを学ぶことができます。
    
    ## 複数のモデル
    
    ここでは、パスワードフィールドをもつモデルがどのように見えるのか、また、どこで使われるのか、大まかなイメージを紹介します:
    
    ```Python hl_lines="9  11  16  22  24  29-30  33-35  40-41"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 15:36:32 GMT 2024
    - 6.7K bytes
    - Viewed (0)
Back to top