These are chat archives for django/django

9th
Nov 2016
Mark Heppner
@mheppner
Nov 09 2016 14:30
@shadowsyntax .latest(‘ref_number’) is still just a filter on the QuerySet. You’ll still get back a RefGen object, so just access the field you want…temp[0].ref_number. Since that’s the only field you want, you can even trim down the QuerySet by adding .only(‘ref_number’).