Changes between Initial Version and Version 1 of Ticket #37284


Ignore:
Timestamp:
Aug 18, 2026, 5:21:00 AM (65 minutes ago)
Author:
Paolo Melchiorre
Comment:

Patch ready for review: https://github.com/django/django/pull/21796

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37284

    • Property Has patch set
  • Ticket #37284 – Description

    initial v1  
    77Django uses sqlparse in the database layer ({{{django.db.backends}}}):
    88
    9  * {{{sqlparse.split()}}} and {{{sqlparse.format(..., strip_comments=True)}}} in [https://github.com/django/django/blob/main/django/db/backends/base/operations.py {{{BaseDatabaseOperations.prepare_sql_script}}}] (migrations/fixtures SQL).
    10  * {{{sqlparse.format(sql, reindent=True, keyword_case="upper")}}} in [https://github.com/django/django/blob/main/django/db/backends/base/operations.py#L875 {{{BaseDatabaseOperations.format_debug_sql}}}].
     9 * {{{sqlparse.split()}}} and {{{sqlparse.format(..., strip_comments=True)}}} in [https://github.com/django/django/blob/main/django/db/backends/base/operations.py BaseDatabaseOperations.prepare_sql_script] (migrations/fixtures SQL).
     10 * {{{sqlparse.format(sql, reindent=True, keyword_case="upper")}}} in [https://github.com/django/django/blob/main/django/db/backends/base/operations.py#L875 BaseDatabaseOperations.format_debug_sql].
    1111 * {{{sqlparse.parse()}}} in the [https://github.com/django/django/blob/main/django/db/backends/mysql/introspection.py MySQL] and [https://github.com/django/django/blob/main/django/db/backends/sqlite3/introspection.py SQLite] introspection backends.
    1212
Back to Top