Changes between Initial Version and Version 1 of Ticket #34861, comment 1


Ignore:
Timestamp:
Sep 21, 2023, 6:07:08 PM (14 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34861, comment 1

    initial v1  
    11The issue lies in `GeneratedField.generated_sql`, it should not call `as_sql` directly as it doesn't account for `{vendor}_sql` overrides.
    22
    3 It should let the compiler compile the expression instead, something like
     3It 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
    44
    55{{{#!diff
Back to Top