#32538: Easy - Small Update in Django Writing your first app 07
-------------------------------------+-------------------------------------
Reporter: hkale0000 | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: | Version: 3.1
Documentation |
Severity: Normal | Keywords: Easy, Documentation
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
Hello Team Django,
There is a small error on the update to be made in "Django Writing your
first app -07" page with following URL
https://docs.djangoproject.com/en/3.1/intro/tutorial07/
On this page, under "Customizing your project’s templates" section please
update
{{{
'DIRS': [BASE_DIR / 'templates'], to 'DIRS': [BASE_DIR, 'templates'],
}}}
else it causes following error :
TypeError: unsupported operand type(s) for /: 'str' and 'str' base_dir
please refer the following image for further reference :
--
Ticket URL: <https://code.djangoproject.com/ticket/32538>
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/052.e833b115efd84be875b8a19b9c04b80c%40djangoproject.com.