Re: Django templates render

2018-09-02 Thread Kasper Laudrup

Hi Ronak,

On 02/09/2018 08.24, RONAK JAIN wrote:

Thanks for reply
Firar of all i need here I want to make relation between projects and
categories.
You can look attached HTML page picture  there categories parts three
attributes digital, print or branding and projects are there show pictures
or pictures name.


It is very hard to understand exactly what you mean. Have you followed 
the django starter tutorial:


https://www.djangoproject.com/start/


1. How can I make expect relation between in models ?


By using Django models I guess?

https://docs.djangoproject.com/en/2.1/topics/db/models/


2. How can i do HTML page should load from our db ?



By using Django views and templates I guess?

https://docs.djangoproject.com/en/2.1/topics/http/views/

Kind regards,

Kasper Laudrup

--
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5314efa6-42ab-ae24-e58b-0f781ee1923c%40stacktrace.dk.
For more options, visit https://groups.google.com/d/optout.


Re: Django templates render

2018-09-01 Thread RONAK JAIN
Thanks for reply
Firar of all i need here I want to make relation between projects and
categories.
You can look attached HTML page picture  there categories parts three
attributes digital, print or branding and projects are there show pictures
or pictures name.
1. How can I make expect relation between in models ?
2. How can i do HTML page should load from our db ?


Thanks
Ronak Jain


On Sun, 2 Sep 2018, 2:01 a.m. Jason,  wrote:

> I'm sorry, I have no idea what you're trying to do.  what exactly is
> correct relationship and what is different from the render output that you
> desire?
>
> --
> 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3136ddd9-b931-40c6-b7bf-9c4834e0e23a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BAqMUcfNGQFom-AhLj7s6LEU%2Bn8cqpeB5VoGvWt3vbvGVwBmw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django templates render

2018-09-01 Thread Jason
I'm sorry, I have no idea what you're trying to do.  what exactly is 
correct relationship and what is different from the render output that you 
desire?

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3136ddd9-b931-40c6-b7bf-9c4834e0e23a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.