but is this correct way to get values from two tables and use in
templates?

Me actually want to combine to tables and use there values in template
Is the above post code is correct  way to do this?

Combine the in the *view* with the zip() built-in, and use Steve's suggestion to split the parts in the template (you can use the tuple-unpacking version in Django 1.0 or later[1])

-tkc

[1]
http://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs#for



--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to