# show us your models.py
def index(request):
content = {
about:'about',
serv1:'serv1',
serv2:'serv2',
serv3:'serv3',
serv4:'serv4',
project1:'project1',
project2:'project2',
contact:'contact',
}
return render(request, 'index.html', content)
On Sat, Jan 4, 2020 at 6:18 PM Eduardo Cervantes <[email protected]> wrote:
> Sorry bud,
> Your english is a little rough around the edges so that be part of the
> barrier.
> good luck.
>
> https://eddyizm.github.io/resume/
>
>
>
>
> On Sat, Jan 4, 2020 at 8:02 AM N Rupesh <[email protected]> wrote:
>
>> I think , you don't understand my problem
>>
>> On Sat, Jan 4, 2020, 8:23 PM Muhammed Rafi A <[email protected]>
>> wrote:
>>
>>> return render(request, 'index.html', content)
>>>
>>>
>>> On Sat, Jan 4, 2020, 8:09 PM nrupesh08 <[email protected]> wrote:
>>>
>>>> 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.
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Django users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/915fc8da-b03f-4404-8007-803e520f68fe%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/django-users/915fc8da-b03f-4404-8007-803e520f68fe%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CADwyzwq8F6fgF6ysehw66c_EZLnvS7Erkd5F%2BQusPVCRqB9fQg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CADwyzwq8F6fgF6ysehw66c_EZLnvS7Erkd5F%2BQusPVCRqB9fQg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAJTpUzk--OPeoCRVQStSvmKeEOfPQn12J5fzzoSqU28bpZEvqw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAJTpUzk--OPeoCRVQStSvmKeEOfPQn12J5fzzoSqU28bpZEvqw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CALZhWrc%3DK_tnTtiRUd-7XwsXu6zGM0aD-VU7%3Dv%3DVK%2BhOeni0bg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALZhWrc%3DK_tnTtiRUd-7XwsXu6zGM0aD-VU7%3Dv%3DVK%2BhOeni0bg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAHV4E-es%3D_Nb6_UkVpWkj-shiVjhgwusvhJN12O1uoF3nN2akw%40mail.gmail.com.