#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.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.87d3c29e5db61d76d523a263ff12ba78%40djangoproject.com.