Deployed 0f4cf0c to dev with MkDocs 1.4.2 and mike 1.1.2

This commit is contained in:
fastapi-users-ci
2023-04-18 09:10:36 +00:00
parent 0571045022
commit e42baab33b
5 changed files with 45 additions and 37 deletions

View File

@@ -1384,6 +1384,10 @@
</li>
</ol>
<p>Don't forget to add the <code>AccessToken</code> ODM model to the <code>document_models</code> array in your Beanie initialization, <a href="../../../databases/beanie/#initialize-beanie">just like you did with the <code>User</code> model</a>!</p>
<div class="admonition info">
<p class="admonition-title">Info</p>
<p>If you want to add your own custom settings to your <code>AccessToken</code> document model - like changing the collection name - don't forget to let your inner <code>Settings</code> class inherit the pre-defined settings from <code>BeanieBaseAccessToken</code> like this: <code>Settings(BeanieBaseAccessToken.Settings): # ...</code>! See Beanie's <a href="https://beanie-odm.dev/tutorial/defining-a-document/#settings">documentation on <code>Settings</code></a> for details.</p>
</div>
<h3 id="strategy">Strategy<a class="headerlink" href="#strategy" title="Permanent link">&para;</a></h3>
<div class="highlight"><pre><span></span><code><a id="__codelineno-3-1" name="__codelineno-3-1" href="#__codelineno-3-1"></a><span class="kn">import</span> <span class="nn">uuid</span>
<a id="__codelineno-3-2" name="__codelineno-3-2" href="#__codelineno-3-2"></a>

View File

@@ -1255,6 +1255,10 @@
<p class="admonition-title">Info</p>
<p>The base class is configured to automatically create a <a href="https://roman-right.github.io/beanie/tutorial/defining-a-document/#indexes">unique index</a> on <code>id</code> and <code>email</code>.</p>
</div>
<div class="admonition info">
<p class="admonition-title">Info</p>
<p>If you want to add your own custom settings to your <code>User</code> document model - like changing the collection name - don't forget to let your inner <code>Settings</code> class inherit the pre-defined settings from <code>BeanieBaseUser</code> like this: <code>class Settings(BeanieBaseUser.Settings): # ...</code>! See Beanie's <a href="https://beanie-odm.dev/tutorial/defining-a-document/#settings">documentation on <code>Settings</code></a> for details.</p>
</div>
<h2 id="create-the-database-adapter">Create the database adapter<a class="headerlink" href="#create-the-database-adapter" title="Permanent link">&para;</a></h2>
<p>The database adapter of <strong>FastAPI Users</strong> makes the link between your database configuration and the users logic. It should be generated by a FastAPI dependency.</p>
<div class="highlight"><pre><span></span><code><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a><span class="kn">import</span> <span class="nn">motor.motor_asyncio</span>

View File

File diff suppressed because one or more lines are too long

View File

@@ -2,182 +2,182 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>None</loc>
<lastmod>2023-04-17</lastmod>
<lastmod>2023-04-18</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>

View File

Binary file not shown.