Django union queries throwing database error.( ORDER BY not allowed in subqueries of compound statements.)

后端 未结 0 519
生来不讨喜
生来不讨喜 2021-02-06 16:35

MY search bar is not working when I try to make union queries. My function looks like this

def search(request):
query=request.GET[\'query\']

allPostsTitle= Post.         


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