Return the field or fields to use for ordering the queryset; use the date field by default.
(self)
| 323 | ) |
| 324 | |
| 325 | def get_ordering(self): |
| 326 | """ |
| 327 | Return the field or fields to use for ordering the queryset; use the |
| 328 | date field by default. |
| 329 | """ |
| 330 | return "-%s" % self.get_date_field() if self.ordering is None else self.ordering |
| 331 | |
| 332 | def get_dated_queryset(self, **lookup): |
| 333 | """ |
nothing calls this directly
no test coverage detected