Changes between Initial Version and Version 1 of Ticket #35006
- Timestamp:
- Nov 30, 2023, 1:43:55 AM (13 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35006 – Description
initial v1 1 It seems that I have found a bug in all 4.2+ versions of Django (including main branch and 5.0rc). I made a repo with steps to reproduce and full description of the bug – GitHub - FeroxTL/django-sqlite-bug 3. Long story short: sqlite does not support comments, but when you change (not create) `Meta.db_table_comment` sqlite backend `django.db.backends.sqlite3.schema.DatabaseSchemaEditor` tries to generate COMMENT sql and it obviously falls.1 It seems that I have found a bug in all 4.2+ versions of Django (including main branch and 5.0rc). I made a repo with steps to reproduce and full description of the bug – https://github.com/FeroxTL/django-sqlite-bug . Long story short: sqlite does not support comments, but when you change (not create) `Meta.db_table_comment` sqlite backend `django.db.backends.sqlite3.schema.DatabaseSchemaEditor` tries to generate COMMENT sql and it obviously falls. 2 2 3 3