spacepaste
new
Paste details
reply
|
raw
#in views.py
obj = statistics.objects.filter(ig_username='u1', action='FOLLOW').order_by('-id')[:1]
obj_date= statistics.objects.values_list('date', flat=True).order_by('-id')[:1]
#in template
{{ obj_date.0 }}