I have a function that calls another function and passes a query string to the end of the URL.
How would I accomplish the following —
if my_videos:
return render(request, template, {kwargs}) + "?filter=others&sort=newest"
Note: I do not care if I use render or not, its use is merely to point out what I’m trying to accomplish. Thank you.
Pass the query string in the template: