#4273: Tutorial 2 has error about default template directory name
---------------------------------------+------------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  jacob        
     Status:  new                      |            Component:  Documentation
    Version:  SVN                      |           Resolution:               
   Keywords:                           |                Stage:  Unreviewed   
  Has_patch:  0                        |           Needs_docs:  0            
Needs_tests:  0                        |   Needs_better_patch:  0            
---------------------------------------+------------------------------------
Comment (by [EMAIL PROTECTED]):

 ahh I get it.  You say
 
     "/home/my_username/mytemplates", # Change this to your own directory.
 
 which means not that this line "already exists" in the template directory,
 but that we should add it.
 
 I thought that it meant "go and find this line and change it" which line
 doesn't currently exist.
 The change I would make to the tutorial would be to say
 
 So, letÂ’s add a NEW line to it, to tell
 Django where our templates live. It will look like this:
 TEMPLATE_DIRS = (
     "/home/my_username/mytemplates", # Change this to your own directory.
 )
 
 Or so. The real confusion is that settings.py TEMPLATE_DIRS settings has
 some "other things" that are in it by default which aren't shown here, so
 it confused me. Thanks!

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4273#comment:3>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to