Django: How to limit number of objects returned from a model
Asked 2012-11-16T18:55:46.520
26
I have a list of "news" headlines in a database with the following fields: ID, Title, Date. I want to get the ten latest ones (or retrieve all of them if there are less than ten).