#24519: Language mismatch (word: project) between tutorial01 and tutorial02
-------------------------------------+-------------------------------------
     Reporter:  kevinconway          |                    Owner:  pkatseas
         Type:                       |                   Status:  assigned
  Cleanup/optimization               |
    Component:  Documentation        |                  Version:  1.7
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by kevinconway):

 This patch is a good addition. It only partially resolves the issue,
 though.

 I'm pretty sure putting the templates next to the settings.py _is_ the
 correct step, but the default {{{BASE_DIR}}} points to the directory
 _above_ the settings.py. This means, in order to successfully complete
 tutorial02, you have to place the templates outside of the code, in the
 repository root.

 If placing the templates within the project Python package is correct, you
 also need to modify the {{{TEMPLATES_DIRS = [os.path.join(BASE_DIR,
 'templates')]}}} line to something more like {{{TEMPLATES_DIRS =
 [os.path.join(BASE_DIR, 'project_directory', 'templates')]}}}.

--
Ticket URL: <https://code.djangoproject.com/ticket/24519#comment:3>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.30b9c998a15764740347026866cdf3b4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to