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`. Just to make it clear, `order_by(str(uuid.uuid4())` is effectively not allowed. |
| 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`. |
| 4 | |
| 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 |
| 6 | |
| 7 | {{{#!python |
| 8 | .annotate(**{str(uuid.uuid4()): expression}) |
| 9 | }}} |
| 10 | |
| 11 | is not supported and if you want to order by a programmatically added alias without risking field collision you should pass `expression` directly to `.order_by()`. |