 <p>If query_image and list_image are came from the same form, you can do this:</p> <p>Try to </p> <pre><code>def query_image(request): #it woul be better to rename it to all_image if form.is_valid(): query_image = form.cleaned_data['query_image'] list_image = form.cleaned_data['list_image'] my_context = {'query_image': form.cleaned_data['query_image'], 'list_image': form.cleaned_data[] #... any other data} return render(request, "all_image.html", my_context) </code></pre> <p>And you have to make sure that all_image.html renders list_image somehow (using django templates <code>for</code>, for example)</p>