Changes between Version 1 and Version 2 of Ticket #31426, comment 1
- Timestamp:
- Apr 4, 2020, 5:43:55 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31426, comment 1
v1 v2 1 1 `ORDER_PATTERN` is a long standing hack that was added more than 12 years ago during the first iteration of the ORM and augmented later on to address #7098. 2 2 3 It should be replaced by proper field reference validation but could you go into more details about you triggered this error? How did you manage to annotate a field containing an hyphen and pass it along to `order_by`.3 It should be replaced by proper field reference validation but could you go into more details about how you triggered this error? How did you manage to annotate a field containing an hyphen and pass it along to `order_by`. 4 4 5 5 Just to make it clear, `order_by(str(uuid.uuid4())` is effectively not allowed and annotation using uuid as name should also not be supported