diff --git a/docs/faq/models.txt b/docs/faq/models.txt index eb2bb621dd..94011d254f 100644 --- a/docs/faq/models.txt +++ b/docs/faq/models.txt @@ -86,7 +86,7 @@ sure your :setting:`DEBUG` setting is set to ``False``. If :setting:`DEBUG` is ``True``, then Django saves a copy of every SQL statement it has executed. (The queries are saved in ``django.db.connection.queries``. See -`How can I see the raw SQL queries Django is running?`_.) +:ref:`faq-see-raw-sql-queries`.) To fix the problem, set :setting:`DEBUG` to ``False``.