<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/db/backends/sqlite3/introspection.py, branch stable/5.2.x</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=stable%2F5.2.x</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=stable%2F5.2.x'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2026-03-30T19:55:07Z</updated>
<entry>
<title>[5.2.x] Applied Black's 2026 stable style.</title>
<updated>2026-03-30T19:55:07Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2026-01-18T20:26:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0ee44c674cf61efbca2056c40f3e4f2335aaeee6'/>
<id>urn:sha1:0ee44c674cf61efbca2056c40f3e4f2335aaeee6</id>
<content type='text'>
https://github.com/psf/black/releases/tag/26.1.0

Backport of 6cff02078799b7c683a0d39630d49ab4fe532e7c from main.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed #36358 -- Corrected introspection of composite primary keys on SQLite.</title>
<updated>2025-04-30T13:54:17Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2025-04-29T03:35:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=ec73fd67466e0e4841d9ecd0f217c02ce842d860'/>
<id>urn:sha1:ec73fd67466e0e4841d9ecd0f217c02ce842d860</id>
<content type='text'>
Previously, any first field of a composite primary key with type
`INTEGER` was incorrectly introspected as an `AutoField` due to SQLite
treating `INTEGER PRIMARY KEY` as an alias for the `ROWID`.

This change ensures that integer fields in composite PKs are not
mistaken for auto-incrementing fields.

Thanks Jacob Walls and Sarah Boyce for the reviews.

Backport of 07100db6f46255ec6ef70b860495f977473684d6 from main.
</content>
</entry>
<entry>
<title>Fixed #35762 -- Avoided unneeded quote_name() calls in SQLite introspection.</title>
<updated>2024-09-17T06:56:44Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2024-09-17T06:56:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8b9a2bf34e132ccf0ab0a074440dc55f90c76598'/>
<id>urn:sha1:8b9a2bf34e132ccf0ab0a074440dc55f90c76598</id>
<content type='text'>
Double-quoting string literals is deprecated in recent SQLite versions.

Co-authored-by: Mariusz Felisiak &lt;felisiak.mariusz@gmail.com&gt;</content>
</entry>
<entry>
<title>Fixed #31300 -- Added GeneratedField model field.</title>
<updated>2023-09-07T04:19:08Z</updated>
<author>
<name>Jeremy Nauta</name>
<email>jeremypnauta@gmail.com</email>
</author>
<published>2023-07-07T02:36:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=f333e3513e8bdf5ffeb6eeb63021c230082e6f95'/>
<id>urn:sha1:f333e3513e8bdf5ffeb6eeb63021c230082e6f95</id>
<content type='text'>
Thanks Adam Johnson and Paolo Melchiorre for reviews.

Co-Authored-By: Lily Foote &lt;code@lilyf.org&gt;
Co-Authored-By: Mariusz Felisiak &lt;felisiak.mariusz@gmail.com&gt;
</content>
</entry>
<entry>
<title>Made inspectdb used Cursor.description.display_size for CharFields' max_length.</title>
<updated>2022-12-08T08:00:35Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2022-12-08T08:00:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=cbc0fb370583c6371eb2901f752ce286f008a6a4'/>
<id>urn:sha1:cbc0fb370583c6371eb2901f752ce286f008a6a4</id>
<content type='text'>
internal_size is size for fixed-size types not for char types.</content>
</entry>
<entry>
<title>Fixed #32234 -- Made inspectdb inform about composite primary keys.</title>
<updated>2022-06-01T06:40:44Z</updated>
<author>
<name>Anv3sh</name>
<email>anveshgreat11@gmail.com</email>
</author>
<published>2022-05-11T19:30:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=295249c901e13ec1703ada5c414cd97aba72f3e9'/>
<id>urn:sha1:295249c901e13ec1703ada5c414cd97aba72f3e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #33476 -- Refactored code to strictly match 88 characters line length.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2022-02-04T07:08:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=7119f40c9881666b6f9b5cf7df09ee1d21cc8344'/>
<id>urn:sha1:7119f40c9881666b6f9b5cf7df09ee1d21cc8344</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-03T19:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #33288 -- Removed SQLite's DatabaseIntrospection._get_foreign_key_constraints().</title>
<updated>2021-11-15T07:20:30Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2021-11-14T00:27:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=560ff988dd6cff40381408c62494ca3eb9804f32'/>
<id>urn:sha1:560ff988dd6cff40381408c62494ca3eb9804f32</id>
<content type='text'>
The get_relations() method returns the exact same data in a more generic
format.
</content>
</entry>
<entry>
<title>Fixed #33288 -- Made SQLite introspection use information schema for relations.</title>
<updated>2021-11-15T07:07:07Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2021-11-13T19:43:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=483e30c3d5c82c562a17e016ae2098666bf3a728'/>
<id>urn:sha1:483e30c3d5c82c562a17e016ae2098666bf3a728</id>
<content type='text'>
Previous solution was using brittle and complex parsing rules to
extract them from the SQL used to define the tables.

Removed a now unnecessary unit test that ensured the removed parsing
logic accounted for optional spacing.
</content>
</entry>
</feed>
