added_on field is datetime, so i want to sort rows by date time
rows = rows.sort(lambda row: row.added_on) 

the main idea consist in showing last 10 added articles or news, ordered by 
added_on field

it can be 7 news or 3 articles
5 news 5 articles
1 news 9 artilces 
....
....

Reply via email to