#32142: Tutorial 7 - [settings.py code error]
-----------------------------------------+------------------------
Reporter: elijahyang | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 3.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
In tutorial 7,
https://docs.djangoproject.com/en/3.1/intro/tutorial07/ Under "Customizing your project’s templates",
'DIRS': [BASE_DIR / 'templates'],
should be
'DIRS': [BASE_DIR + '/templates'],
otherwise terminal will return an error.
--
Ticket URL: <https://code.djangoproject.com/ticket/32142>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.