Re: Templates Directory Question

2011-01-03 Thread Daniel Hepper
You can put the templates anywhere you want, by a good place is a directory named templates in the base directory of your project, i.e. C:\DjangoProjects\mysite\templates\ Don't forget to add this path to the TEMPLATE_DIRS variable in your settings.py. The template file from the example would be

Re: Templates Directory Question

2011-01-03 Thread Anthony Pearce
Now I feel stupid. That intelligent comment flew right over my head. I'm not sure yet where apache is falling in here yet, nor do I know what htdocs is. I should mention I'm using Windows 7 also, in case any terminology is based on another OS. On Jan 3, 10:56 pm, "Mo J. Al-Mughrabi" wrote: > By

Re: Templates Directory Question

2011-01-03 Thread Mo J. Al-Mughrabi
By document root they mean apache public directory, aka htdocs Sent from my iPhone On Jan 3, 2011, at 4:53 PM, Anthony Pearce wrote: > In Tutorial 2, I was instructed to make a templates directory. It is > located at: > C:\DjangoProjects\mysite\templates > > Now again in Tutorial 3, section

Templates Directory Question

2011-01-03 Thread Anthony Pearce
In Tutorial 2, I was instructed to make a templates directory. It is located at: C:\DjangoProjects\mysite\templates Now again in Tutorial 3, section "Write views that actually do something", I am given the instructions: create a directory, somewhere on your filesystem, whose content