Changes between Version 1 and Version 2 of Ticket #35665, comment 3


Ignore:
Timestamp:
Aug 11, 2024, 10:29:48 PM (3 months ago)
Author:
Andrew

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35665, comment 3

    v1 v2  
    11Replying to [comment:2 Simon Charette]:
     2
     3''Edit: Thanks for the super fast fix.  I noticed just now that you said "Supporting explicit empty ordering on Window functions and slicing" and I wanted to call this bit out, as it's a *bit* less of a footgun, as it's could be the default, and was my actual original issue.''
    24
    35Yes, it returns them in database order, which is acceptable in this case.
    46
    5 The actual issue was a Model having no {{{Meta.ordering}}}.  Since both cause the issue, and we  require `order_by()` to be explicit at the query level, I used the `.order_by()`  example.  The following will also fail, as the products model has no default ordering:
     7The original issue was a Model having no {{{Meta.ordering}}}.  Since both cause the issue, and we  require `order_by()` to be explicit at the query level, I used the `.order_by()`  example.  The following will also fail, as the products model has no default ordering:
    68
    79{{{
     
    1618        verbose_name_plural = "Products"
    1719}}}
     20
Back to Top