title: queryset django for last value of column if another column is equal to a value
body: <p>I have a django video model  and i want to get the last value of "nameoriginalvideo" if owner id is equal to the current user id.</p>
  
  <p>This is my mysql table equivalent to the model:
  <a href="https://i.stack.imgur.com/7PQCj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7PQCj.png" alt="enter image description here"></a>
  This is what i tried but it didn't work:</p>
  
  <pre><code>def teste(request):
      originalvideo = Videounwtm.objects.values('nameoriginalvideo').filter(owner_id = request.user.id).first().last()
      vle = originalvideo['nameoriginalvideo']
      return render(request, 'teste.html', {'vle': vle})
  </code></pre>
  
  <p>Thank you in advance.</p>