Fixed typo in code sample
Restored the note about TEMPLATE_DIRS