Plz help with understanding !
|Reported by:||Nebjula||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
in your tutourial to django 1st application PART3.There's one paragrah I just cannot understand:
"Ah. There's no template yet. First, create a directory, somewhere on your filesystem, whose contents Django can access. (Django runs as whatever user your server runs.) Don't put them under your document root, though. You probably shouldn't make them public, just for security's sake. Then edit TEMPLATE_DIRS in your settings.py to tell Django where it can find templates -- just as you did in the "Customize the admin look and feel" section of Tutorial 2.
When you've done that, create a directory polls in your template directory. Within that, create a file called index.html. Note that"
Why do I have to creat index.html again and again? There already one in file admin/index.html created in Part2 tutourial.
What does the "document root" mean?