Hi All, Please help me with this issue..... I have created a template folder at C:/python25/django/templates and I have updated the settings.py file with "forward slashes" in path. When I hit the url, it gives me the following error.
c:\python25\django\templates\current_datetime.html (File does not exist) I am totally clueless as I have this file at this path but it is still giving the error..... the path in my settings.py file looks like TEMPLATE_DIRS = ( 'C:/Python25/django/templates', ) Thanks Gaurav On Apr 15, 7:14 pm, AJ <[EMAIL PROTECTED]> wrote: > Do you have your TEMPLATE_DIRS setting as a tuple or list? If it's a > tuple and it has only one element you need a trailing comma like so: > TEMPLATE_DIRS = ( > 'C:/python25/django/templates', > ) > > On Apr 15, 12:00 pm, "Gaurav Sharma" <[EMAIL PROTECTED]> wrote: > > > Hi All, > > > I am very new to Django and facing lot of initial problems. I have created a > > template folder at C:/python25/django/templates > > and I have updated the settings.py file with "forward slashes" in path. When > > I hit the url, it gives me the following error. > > > c:\python25\django\templates\current_datetime.html (File does not exist) > > > I am totally clueless as I have this file at this path but it is still > > giving the error..... > > > I hope somebody would have the solution as I might be doing some silly > > mistake.Thanks in advace > > > Cheers > > Gaurav --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---