Changes between Version 1 and Version 2 of Ticket #35093
- Timestamp:
- Jan 8, 2024, 6:46:03 AM (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35093 – Description
v1 v2 3 3 `Model.objects.annotate(**{"VALUE_WITH_APOSTROPHE'-2": Count('attribute_name')})` 4 4 5 This generates a `ValueError: Column aliases cannot contain whitespace characters, quotation marks, semicolons, or SQL comments.` While SQL syntax allows such aliases, Django ORM does not, leading to a lack of flexibility and unexpected errors in ORM interactions.5 This generates a `ValueError: Column aliases cannot contain whitespace characters, quotation marks, semicolons, or SQL comments.` While SQL syntax allows such value for fields, Django ORM does not, leading to a lack of flexibility and unexpected errors in ORM interactions. 6 6 7 7 Impact: