Opened 4 years ago
Closed 4 years ago
#32115 closed Uncategorized (invalid)
Typo in Tutorial Part 7
Reported by: | Jakob Schlag | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 3.1 |
Severity: | Normal | Keywords: | Tutorial, DIRS, Typo |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Part 7 of the Tutorial asks to change DIRS to
[BASE_DIR / 'templates'],
This seems to cause an error. According to
https://stackoverflow.com/questions/63701560/django-dirs-issue
it should be
[BASE_DIR + '/templates']
Note:
See TracTickets
for help on using tickets.
BASE_DIR
is apathlib.Path
not a string, it looks that you're using docs for a wrong version of Django. Closing per TicketClosingReasons/UseSupportChannels.