How to show only one objects if there are few in Django?

后端 未结 0 2047
轮回少年
轮回少年 2021-02-11 18:12

I\'m trying to user a list but still it shows all the values.

allexpelorer1    = Destination.objects.filter(destination = pk).order_by(\'-pk\')
allexpelorer = []
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题