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
Pathlibwill throw an error unless youimport oswhen defining the template directory. It appears this can just be changed to'DIRS': [BASE_DIR / "templates"],to work appropriately in thePathlibparlance.Thanks for pointing that out! Times, they are a changin'!