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
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
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
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
4 matches
Mail list logo