diff options
| author | django-bot <ops@djangoproject.com> | 2023-02-28 20:53:28 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-03-01 13:03:56 +0100 |
| commit | 14459f80ee3a9e005989db37c26fd13bb6d2fab2 (patch) | |
| tree | eb62429ed696ed3a5389f3a676aecfc6d15a99cc /docs/faq | |
| parent | 6015bab80e28aef2669f6fac53423aa65f70cb08 (diff) | |
Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.
Diffstat (limited to 'docs/faq')
| -rw-r--r-- | docs/faq/models.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/faq/models.txt b/docs/faq/models.txt index 3cb1c6166b..0cfbfd638a 100644 --- a/docs/faq/models.txt +++ b/docs/faq/models.txt @@ -33,12 +33,13 @@ same interface on each member of the ``connections`` dictionary: .. code-block:: pycon >>> from django.db import connections - >>> connections['my_db_alias'].queries + >>> connections["my_db_alias"].queries If you need to clear the query list manually at any point in your functions, call ``reset_queries()``, like this:: from django.db import reset_queries + reset_queries() Can I use Django with a preexisting database? |
