Re: Stuck with TemplateDoesNotExist at /

2013-09-02 Thread vogernewsletters
Well, this is embarrassing but the file wasn't in the path after all. A simple ls would reveal that. It was one level higher than that. So I moved the directory templates inside the microblog and now it works. On 09/02/2013 04:07 PM, Sandro Dutra wrote: Django cannot load the template, probably

Re: Stuck with TemplateDoesNotExist at /

2013-09-02 Thread Sandro Dutra
Django cannot load the template, probably the path is wrong, try to put this in your settings: TEMPLATE_DIRS = (os.path.join(os.path.dirname(__file__), '..', 'templates').replace('\\','/'),) About the views, I think you don't need to code it if in your urls.py you already used the TemplateView.as

Stuck with TemplateDoesNotExist at /

2013-09-02 Thread vogernewsletters
Hi I am new to both Python and Django. I am studying various tutorials and now I am following the tutorial from http://gettingstartedwithdjango.com where the author walks through the creation of a simple microblog. I tried to follow the tutorial to the p

Stuck with TemplateDoesNotExist at /

2013-09-02 Thread Voyager
Hi, I am total newbie when it comes to both Python and Django. I followed few tutorials but still can't get things to click at all. Now I am trying to follow the tutorial from http://gettingstartedwithdjango.com. I use PyCharm as an ide and generated from there the starting project. My problem