Python Using Databases in Python Gettin' CRUD-y With It Review: Using Databases in Python

Yemurai Ngoma
Yemurai Ngoma
4,217 Points

order_by

i have been trying to complete this quiz but it keeps rejecting published.desc(). how do I tweak it to pass?

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 50,936 Points

The only question this seems to apply to is:

I want to sort my diary entries based on their timestamp attribute in a descending manner, so newer records are first:

timestamp is what is specified not published