diff options
| author | django-bot <ops@djangoproject.com> | 2023-03-01 13:35:43 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-03-01 13:39:03 +0100 |
| commit | 62510f01e76ad0526c94ea6d1bc6399c1ddf3df4 (patch) | |
| tree | 79844be246eba809a4ca09c6f4c3448f2276321a /docs/faq | |
| parent | 32f224e359c68e70e3f9a230be0265dcd6677079 (diff) | |
[4.2.x] 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? |
