def claim(request):
entries = Child_Info.objects.all()
ctx = { 'entries' : entries }
return render_to_response('myapp/claim.html', ctx)
How to pass more than one context here?
def claim(request):
entries = Child_Info.objects.all()
ctx = { 'entries' : entries }
return render_to_response('myapp/claim.html', ctx)
How to pass more than one context here?
Copyright © 2021 Jogjafile Inc.
Why would you want more than one context?
ctx
is a dictionary, you can have as many items as you like in it.