On Wednesday, 29 February 2012 20:03:21 UTC, Django_for_SB wrote: > > Hi Anoop, > > Thank you for the kind reply, I've tried that already. Here are the 3 > variations that I've attempted so far within settings.py in TEMPLATE_DIRS: > > 'C:/Python27/my_Djando_projects/mysite/My_Templates/polls/index.html' > 'C:/Python27/my_Djando_projects/mysite/My_Templates/polls/' > 'C:/Python27/my_Djando_projects/mysite/My_Templates/' > > > They all yield the same error unfortunately. I'm coding this on a Windows > Vista system, fyi. > > Best, > > SB > > On Wed, Feb 29, 2012 at 11:48 AM, Anoop Thomas Mathew wrote: > >> You have to give template directories, not template names in the >> settings.py. >> Thanks, >> Anoop >> atm >> ___ >> Life is short, Live it hard. >> >> You also need to separate the different strings with commas. Otherwise Python will automatically concatenate them, as they are within parentheses. -- DR.
-- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/mDeB71nwRSUJ. 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.