From 14459f80ee3a9e005989db37c26fd13bb6d2fab2 Mon Sep 17 00:00:00 2001 From: django-bot Date: Tue, 28 Feb 2023 20:53:28 +0100 Subject: Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. --- docs/faq/models.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/faq') 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? -- cgit v1.3