Jay, How are you making the choice for a template? User interaction, specific runtime circumstance, random, etc? -- Joey "JoeLinux" Espinosa* * <http://joelinux117.blogspot.com> <http://twitter.com/joelinux117><http://about.me/joelinux>
On Mon, Nov 7, 2011 at 12:04 PM, Tom Evans <tevans...@googlemail.com> wrote: > On Mon, Nov 7, 2011 at 3:59 PM, jay K. <jay.developer2...@gmail.com> > wrote: > > hi, Tom > > > > thanks for the reply > > > > what I actually want to do is to > > list several templates in the render_to_response > > function and be able to choose which one to use > > > > can I choose which template to use? > > > > thanks again, and let me know if my question is clear enough > > > > Of course you can; use logic in your view to decide which template to > render, and call render_to_response with that template name⦠I must be > missing something? > > Cheers > > Tom > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@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. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@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.