given a standard model (called Image) with an autoset \'id\', how do I get the max id?
So far I\'ve tried:
max_id = Image.objects.all().aggregate(Max
this also work perfectly:
max_id = Image.objects.values('id').order_by('-id').first()