#19892: mysite/mytemplates/ directory introduced in tutorial02, should it be
mysite/templates/ ?
--------------------------------------+--------------------
Reporter: jpic | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+--------------------
Working on the staticfiles documentation. Jannis said that it would be
better to have STATICFILES_DIRS introduced the same way as TEMPLATE_DIRS.
But TEMPLATE_DIRS is `mysite/mytemplates/` in
[https://docs.djangoproject.com/en/dev/intro/tutorial02/#customizing-your-
project-s-templates tutorial02: Customizing your project's templates].
Does this mean that we have to document the example STATICFILES_DIRS as
`STATICFILES_DIRS=[os.path.join(BASE_DIR, 'mystatic')]` just like
`TEMPLATE_DIRS=[os.path.join(BASE_DIR, 'mytemplates')]` ?
Or should `TEMPLATE_DIRS` be changed to
`TEMPLATE_DIRS=[os.path.join(BASE_DIR, 'templates')]` so that we could use
`STATICFILES_DIRS=[os.path.join(BASE_DIR, 'static')]` ?
--
Ticket URL: <https://code.djangoproject.com/ticket/19892>
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.