1👍
✅
You should pass the documents
context variable to the template in the view which handles the /alzheimers/
page.
UPDATE: The view you should change is the views.boostrap()
. So rendering of the template will be something like this:
def bootstrap(request):
...
return render_to_response('webportal/bootstrap.html',
{'documents': Document.objects.all()},
context_instance=RequestContext(request)
)
Source:stackexchange.com