1
You have misunderstood slice syntax. It is exactly the same as with a list. It is the first parameter that is the start, but you have omitted that parameter completely; you have only supplied the second (end) and third (step) values.
Your code should be:
Article.objects.all().order_by('-id')[1:2]
or just
Article.objects.all().order_by('-id')[1]
Source:stackexchange.com