#24519: Language mismatch (word: project) between tutorial01 and tutorial02
--------------------------------------+--------------------
Reporter: kevinconway | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.7
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+--------------------
Tutorial01 defines a project as "a collection of configuration and apps
for a particular Web site" which specifically refers to the Python package
generated by "{{{django-admin startproject <project name>}}}".
In tutorial02, while modifying the look and feel of the admin page, the
guide asks the user to create a "templates" directory within the project
and add "{{{TEMPLATE_DIRS = [os.path.join(BASE_DIR, 'templates')]}}}" to
the settings.py which is also within the project. However, the
"{{{BASE_DIR}}}" value resolves to the directory containing the django
project Python package rather than the Python package itself as the
default value is "{{{os.path.dirname(os.path.dirname(__file__))}}}".
The documentation should clarify in tutorial02 whether project refers to
the django project or the containing directory.
--
Ticket URL: <https://code.djangoproject.com/ticket/24519>
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/054.d235a4ffcf64c2c92fde625573a56786%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.