I have a simply class
class BlogPost(models.Model):
title = models.CharField(max_length=150)
...
timestamp = models.DateTimeField()
How do I get the last five items from the database. I tried to do like this:
posts = BlogPost.objects.<any code>
Excuse me for bad English