I do Data, Design, and Marketing (and sympathize with Bartholomew Cubbins). I use code to solve problems. I'm a multidisciplinary artist who holds a phd in fine arts. I like tea.
The switch to Pathlib will throw an error unless you import os when defining the template directory. It appears this can just be changed to 'DIRS': [BASE_DIR / "templates"], to work appropriately in the Pathlib parlance.
The switch to
Pathlib
will throw an error unless youimport os
when defining the template directory. It appears this can just be changed to'DIRS': [BASE_DIR / "templates"],
to work appropriately in thePathlib
parlance.Thanks for pointing that out! Times, they are a changin'!