Answer the question
In order to leave comments, you need to log in
To receive by one request a difference of two last values in selection?
A selection is made
res = SomeModel.objects.filter(user=someuser).order_by('somedate').values_list('somevalue', flat=True)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question