Changes between Initial Version and Version 1 of Ticket #34861, comment 1
- Timestamp:
- Sep 21, 2023, 6:07:08 PM (14 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34861, comment 1
initial v1 1 1 The issue lies in `GeneratedField.generated_sql`, it should not call `as_sql` directly as it doesn't account for `{vendor}_sql` overrides. 2 2 3 It should let the compiler compile the expression instead, something like3 It should [https://github.com/django/django/blob/78b5c9075348aa12da2e024f6ece29d1d652dfdd/django/db/models/sql/compiler.py#L541-L547 let the compiler compile the expression instead], something like 4 4 5 5 {{{#!diff