D
D
Dauren S2016-04-11 12:21:53
Django
Dauren S, 2016-04-11 12:21:53

From one function to another django?

There is a function home
def home(request):
query=request.GET.get("q")
if query:
search(query)
def search(request):
return HttpResponse('here search')
Question: why doesn't it go to search

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question