hi,
I design cms design on the company profile website.
5 pages on the website:
index, about, services, projects, contact.
the problem is,
to display easily DB to frontend expect index page. because. all mixed retrieve DB. just main or sample of the display index page. like., about, service, project and contact.
like,.: def index(request):
content = {}
return render(request, 'index.html', {})
I want, like return values
def index(request):
content = {
about, services(4 services displayed), projects(2 project displayed), contact
}
return render(request, 'index.html', {})
but, how to so many return values in one function?
please help me.