Hi,
-- I need help i am not understanding the keywords of joining and fetch value in veiw.py
i have three tables in model.py
Table 1(Author) :
Table 2(books):
Table 3 (details):
FK of table1
FK of table2
Fk = foreign key
I have to just show
Author (author name) Books (dynamic) Books(author 2nd book) ...
details(dynamic) details(dtl of author 2nd book) ...
I have created the template
now in views.py i an confused
book=books.object(i do not get what to do)
Author= (same )
details = (same)
Please can anybody help that will be very greatfull.
Thank you in advance
Thanks and Regards
Amit Samanta
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/54483cc3-eadd-4559-8c61-c179cfbab933%40googlegroups.com.
No comments:
Post a Comment